Class GeodeticMeasurement

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

public class GeodeticMeasurement extends GeodeticCurve
This is the outcome of a three dimensional geodetic calculation. It represents the path a between two GlobalPositions for a specified reference ellipsoid.
Author:
Mike Gavaghan
See Also:
  • Constructor Details

    • GeodeticMeasurement

      public GeodeticMeasurement(double ellipsoidalDistance, double azimuth, double reverseAzimuth, double elevationChange)
      Creates a new instance of GeodeticMeasurement.
      Parameters:
      ellipsoidalDistance - ellipsoidal distance in meters
      azimuth - azimuth in degrees
      reverseAzimuth - reverse azimuth in degrees
      elevationChange - the change in elevation, in meters, going from the starting point to the ending point
    • GeodeticMeasurement

      public GeodeticMeasurement(GeodeticCurve averageCurve, double elevationChange)
      Creates a new instance of GeodeticMeasurement.
      Parameters:
      averageCurve - average geodetic curve
      elevationChange - the change in elevation, in meters, going from the starting point to the ending point
  • Method Details

    • getElevationChange

      public double getElevationChange()
      Get the elevation change.
      Returns:
      elevation change, in meters, going from the starting to the ending point
    • getPointToPointDistance

      public double getPointToPointDistance()
      Get the point-to-point distance.
      Returns:
      the distance travelled, in meters, going from one point to the next
    • toString

      public String toString()
      Get the GeodeticMeasurement as a string.
      Overrides:
      toString in class GeodeticCurve
      Returns: