org.gavaghan.geodesy
Class GeodeticCurve

java.lang.Object
  extended by org.gavaghan.geodesy.GeodeticCurve
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
GeodeticMeasurement

public class GeodeticCurve
extends java.lang.Object
implements java.io.Serializable

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:
Serialized Form

Constructor Summary
GeodeticCurve(double ellipsoidalDistance, double azimuth, double reverseAzimuth)
          Create a new GeodeticCurve.
 
Method Summary
 double getAzimuth()
          Get the azimuth.
 double getEllipsoidalDistance()
          Get the ellipsoidal distance.
 double getReverseAzimuth()
          Get the reverse azimuth.
 java.lang.String toString()
          Get curve as a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GeodeticCurve

public GeodeticCurve(double ellipsoidalDistance,
                     double azimuth,
                     double reverseAzimuth)
Create a new GeodeticCurve.

Parameters:
ellipsoidalDistance - ellipsoidal distance in meters
azimuth - azimuth in degrees
reverseAzimuth - reverse azimuth in degrees
Method Detail

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

public java.lang.String toString()
Get curve as a string.

Overrides:
toString in class java.lang.Object
Returns: