Package org.orekit.bodies
Class Loxodrome
java.lang.Object
org.orekit.bodies.Loxodrome
- Direct Known Subclasses:
LoxodromeArc
Perform calculations on a loxodrome (commonly, a rhumb line) on an ellipsoid.
A loxodrome or rhumb line is an arc on an ellipsoid's surface that intersects every meridian at the same angle.
- Since:
- 11.3
- Author:
- Joe Reed
-
Constructor Summary
ConstructorsConstructorDescriptionLoxodrome(GeodeticPoint point, double azimuth, OneAxisEllipsoid body) Constructor building a loxodrome from an initial point and an azimuth-off-local-north heading.Loxodrome(GeodeticPoint point, double azimuth, OneAxisEllipsoid body, double altitude) Constructor building a loxodrome from an initial point and an azimuth-off-local-north heading. -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the altitude above the reference body.doubleGet the azimuth.getBody()Get the body on which the loxodrome is defined.getPoint()Get the geodetic point defining the loxodrome.pointAtDistance(double distance) Calculate the point at the specified distance from the origin point along the loxodrome.
-
Constructor Details
-
Loxodrome
Constructor building a loxodrome from an initial point and an azimuth-off-local-north heading. This method is an equivalent tonew Loxodrome(point, azimuth, body, point.getAltitude())- Parameters:
point- the initial loxodrome pointazimuth- the heading, clockwise angle from north (radians,[0,2π])body- ellipsoid body on which the loxodrome is defined
-
Loxodrome
Constructor building a loxodrome from an initial point and an azimuth-off-local-north heading.- Parameters:
point- the initial loxodrome pointazimuth- the heading, clockwise angle from north (radians,[0,2π])body- ellipsoid body on which the loxodrome is definedaltitude- altitude above the reference body
-
-
Method Details
-
getPoint
Get the geodetic point defining the loxodrome.- Returns:
- the geodetic point defining the loxodrome
-
getAzimuth
public double getAzimuth()Get the azimuth.- Returns:
- the azimuth
-
getBody
Get the body on which the loxodrome is defined.- Returns:
- the body on which the loxodrome is defined
-
getAltitude
public double getAltitude()Get the altitude above the reference body.- Returns:
- the altitude above the reference body
-
pointAtDistance
Calculate the point at the specified distance from the origin point along the loxodrome. A positive distance follows the line in the azimuth direction (i.e. northward for arcs with azimuth angles[3π/2, 2π]or[0, π/2]). Negative distances travel in the opposite direction along the rhumb line. Distance is computed at the altitude of the origin point.- Parameters:
distance- the distance to travel (meters)- Returns:
- the point at the specified distance from the origin
-