Class GeodeticCurve

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

public class GeodeticCurve extends Object implements 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:
  • Constructor Details

    • 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 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

      public String toString()
      Get curve as a string.
      Overrides:
      toString in class Object
      Returns: