Package org.orekit.bodies
Class LoxodromeArc
- java.lang.Object
-
- org.orekit.bodies.Loxodrome
-
- org.orekit.bodies.LoxodromeArc
-
public class LoxodromeArc extends Loxodrome
Loxodrome defined by a start and ending point.- Since:
- 11.3
- Author:
- Joe Reed
-
-
Constructor Summary
Constructors Constructor Description LoxodromeArc(GeodeticPoint point, GeodeticPoint endPoint, OneAxisEllipsoid body)
Class constructor where the arc's altitude is the average of the initial and final points.LoxodromeArc(GeodeticPoint point, GeodeticPoint endPoint, OneAxisEllipsoid body, double altitude)
Class constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeodeticPoint
calculatePointAlongArc(double fraction)
Calculate a point at a specific percentage along the arc.double
getDistance()
Compute the distance of the arc along the surface of the ellipsoid.GeodeticPoint
getFinalPoint()
Get the final point of the arc.-
Methods inherited from class org.orekit.bodies.Loxodrome
getAltitude, getAzimuth, getBody, getPoint, pointAtDistance
-
-
-
-
Constructor Detail
-
LoxodromeArc
public LoxodromeArc(GeodeticPoint point, GeodeticPoint endPoint, OneAxisEllipsoid body)
Class constructor where the arc's altitude is the average of the initial and final points.- Parameters:
point
- the starting pointendPoint
- the ending pointbody
- the body on which the loxodrome is defined
-
LoxodromeArc
public LoxodromeArc(GeodeticPoint point, GeodeticPoint endPoint, OneAxisEllipsoid body, double altitude)
Class constructor.- Parameters:
point
- the starting pointendPoint
- the ending pointbody
- the body on which the loxodrome is definedaltitude
- the altitude above the reference body (meters)
-
-
Method Detail
-
getFinalPoint
public GeodeticPoint getFinalPoint()
Get the final point of the arc.- Returns:
- the ending point of the arc
-
getDistance
public double getDistance()
Compute the distance of the arc along the surface of the ellipsoid.- Returns:
- the distance (meters)
-
calculatePointAlongArc
public GeodeticPoint calculatePointAlongArc(double fraction)
Calculate a point at a specific percentage along the arc.- Parameters:
fraction
- the fraction along the arc to compute the point- Returns:
- the point along the arc
-
-