Class Constants


  • public class Constants
    extends java.lang.Object
    Constants needed by GeographicLib.

    Define constants specifying the WGS84 ellipsoid.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static double WGS84_a
      The equatorial radius of WGS84 ellipsoid (6378137 m).
      static double WGS84_f
      The flattening of WGS84 ellipsoid (1/298.257223563).
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Constants()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • WGS84_a

        public static final double WGS84_a
        The equatorial radius of WGS84 ellipsoid (6378137 m).
        See Also:
        Constant Field Values
      • WGS84_f

        public static final double WGS84_f
        The flattening of WGS84 ellipsoid (1/298.257223563).
        See Also:
        Constant Field Values
    • Constructor Detail

      • Constants

        private Constants()