Package org.gavaghan.geodesy
Class GeodeticCurve
java.lang.Object
org.gavaghan.geodesy.GeodeticCurve
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
GeodeticMeasurement
This is the outcome of a geodetic calculation. It represents the path and
ellipsoidal distance between two GlobalCoordinates for a specified reference
ellipsoid.
- Author:
- Mike Gavaghan
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionGeodeticCurve(double ellipsoidalDistance, double azimuth, double reverseAzimuth) Create a new GeodeticCurve. -
Method Summary
Modifier and TypeMethodDescriptiondoubleGet the azimuth.doubleGet the ellipsoidal distance.doubleGet the reverse azimuth.toString()Get curve as a string.
-
Constructor Details
-
GeodeticCurve
public GeodeticCurve(double ellipsoidalDistance, double azimuth, double reverseAzimuth) Create a new GeodeticCurve.- Parameters:
ellipsoidalDistance- ellipsoidal distance in metersazimuth- azimuth in degreesreverseAzimuth- reverse azimuth in degrees
-
-
Method Details
-
getEllipsoidalDistance
public double getEllipsoidalDistance()Get the ellipsoidal distance.- Returns:
- ellipsoidal distance in meters
-
getAzimuth
public double getAzimuth()Get the azimuth.- Returns:
- azimuth in degrees
-
getReverseAzimuth
public double getReverseAzimuth()Get the reverse azimuth.- Returns:
- reverse azimuth in degrees
-
toString
Get curve as a string.
-