public class LoxodromeArc extends Loxodrome
Constructor and 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.
|
Modifier and Type | Method and 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.
|
getAltitude, getAzimuth, getBody, getPoint, pointAtDistance
public LoxodromeArc(GeodeticPoint point, GeodeticPoint endPoint, OneAxisEllipsoid body)
point
- the starting pointendPoint
- the ending pointbody
- the body on which the loxodrome is definedpublic LoxodromeArc(GeodeticPoint point, GeodeticPoint endPoint, OneAxisEllipsoid body, double altitude)
point
- the starting pointendPoint
- the ending pointbody
- the body on which the loxodrome is definedaltitude
- the altitude above the reference body (meters)public GeodeticPoint getFinalPoint()
public double getDistance()
public GeodeticPoint calculatePointAlongArc(double fraction)
fraction
- the fraction along the arc to compute the pointCopyright © 2002-2023 CS GROUP. All rights reserved.