Module org.apache.jena.geosparql
Class Angle
java.lang.Object
org.apache.jena.geosparql.implementation.great_circle.Angle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final double
find
(double x1, double y1, double x2, double y2) Angle in radians with y-axis being 0 in clockwise direction.static final double
find
(LatLonPoint point1, LatLonPoint point2) Angle in radians with y-axis being 0 in clockwise direction.
LatLon Point may be more useful using Azimuth.static final double
find
(org.locationtech.jts.geom.Coordinate coord1, org.locationtech.jts.geom.Coordinate coord2) Angle in radians with y-axis being 0 in clockwise direction.static final double
find
(org.locationtech.jts.geom.Point point1, org.locationtech.jts.geom.Point point2) Angle in radians with y-axis being 0 in clockwise direction.
-
Constructor Details
-
Angle
public Angle()
-
-
Method Details
-
find
public static final double find(double x1, double y1, double x2, double y2) Angle in radians with y-axis being 0 in clockwise direction.- Parameters:
x1
-y1
-x2
-y2
-- Returns:
- Angle from y-axis in 0 to 2π radians.
-
find
Angle in radians with y-axis being 0 in clockwise direction.
LatLon Point may be more useful using Azimuth.- Parameters:
point1
- LatLon Point in degrees.point2
- LatLon Point in degrees.- Returns:
- Angle from y-axis in 0 to 2π radians.
-
find
public static final double find(org.locationtech.jts.geom.Point point1, org.locationtech.jts.geom.Point point2) Angle in radians with y-axis being 0 in clockwise direction.- Parameters:
point1
- Point in degrees.point2
- Point in degrees.- Returns:
- Angle from y-axis in 0 to 2π radians.
-
find
public static final double find(org.locationtech.jts.geom.Coordinate coord1, org.locationtech.jts.geom.Coordinate coord2) Angle in radians with y-axis being 0 in clockwise direction.- Parameters:
coord1
- Point in degrees.coord2
- Point in degrees.- Returns:
- Angle from y-axis in 0 to 2π radians.
-