Class GeodesicData


  • public class GeodesicData
    extends Object
    The results of geodesic calculations. This is used to return the results for a geodesic between point 1 (lat1, lon1) and point 2 (lat2, lon2). Fields that have not been set will be filled with Double.NaN. The returned GeodesicData objects always include the parameters provided to Geodesic.Direct and Geodesic.Inverse and it always includes the field a12.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      double a12
      arc length on the auxiliary sphere between point 1 and point 2 (degrees).
      double azi1
      azimuth at point 1 (degrees).
      double azi2
      azimuth at point 2 (degrees).
      double lat1
      latitude of point 1 (degrees).
      double lat2
      latitude of point 2 (degrees).
      double lon1
      longitude of point 1 (degrees).
      double lon2
      longitude of point 2 (degrees).
      double m12
      reduced length of geodesic (meters).
      double M12
      geodesic scale of point 2 relative to point 1 (dimensionless).
      double M21
      geodesic scale of point 1 relative to point 2 (dimensionless).
      double s12
      distance between point 1 and point 2 (meters).
      double S12
      area under the geodesic (meters2).
    • Constructor Summary

      Constructors 
      Constructor Description
      GeodesicData()
      Initialize all the fields to Double.NaN.
    • Field Detail

      • lat1

        public double lat1
        latitude of point 1 (degrees).
      • lon1

        public double lon1
        longitude of point 1 (degrees).
      • azi1

        public double azi1
        azimuth at point 1 (degrees).
      • lat2

        public double lat2
        latitude of point 2 (degrees).
      • lon2

        public double lon2
        longitude of point 2 (degrees).
      • azi2

        public double azi2
        azimuth at point 2 (degrees).
      • s12

        public double s12
        distance between point 1 and point 2 (meters).
      • a12

        public double a12
        arc length on the auxiliary sphere between point 1 and point 2 (degrees).
      • m12

        public double m12
        reduced length of geodesic (meters).
      • M12

        public double M12
        geodesic scale of point 2 relative to point 1 (dimensionless).
      • M21

        public double M21
        geodesic scale of point 1 relative to point 2 (dimensionless).
      • S12

        public double S12
        area under the geodesic (meters2).
    • Constructor Detail

      • GeodesicData

        public GeodesicData()
        Initialize all the fields to Double.NaN.