Package org.orekit.bodies
Class LoxodromeArc
java.lang.Object
org.orekit.bodies.Loxodrome
org.orekit.bodies.LoxodromeArc
Loxodrome defined by a start and ending point.
- Since:
- 11.3
- Author:
- Joe Reed
-
Constructor Summary
ConstructorsConstructorDescriptionLoxodromeArc(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
Modifier and TypeMethodDescriptioncalculatePointAlongArc(double fraction) Calculate a point at a specific percentage along the arc.doubleCompute the distance of the arc along the surface of the ellipsoid.Get the final point of the arc.Methods inherited from class org.orekit.bodies.Loxodrome
getAltitude, getAzimuth, getBody, getPoint, pointAtDistance
-
Constructor Details
-
LoxodromeArc
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 Details
-
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
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
-