All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.geographiclib.Constants Maven / Gradle / Ivy

Go to download

This is a Java implementation of the geodesic algorithms from GeographicLib. This is a self-contained library to solve geodesic problems on an ellipsoid model of the earth. It requires Java version 1.7 or later.

There is a newer version: 2.0
Show newest version
/**
 * Implementation of the net.sf.geographiclib.Constants class
 *
 * Copyright (c) Charles Karney (2013)  and licensed
 * under the MIT/X11 License.  For more information, see
 * https://geographiclib.sourceforge.io/
 **********************************************************************/
package net.sf.geographiclib;

/**
 * Constants needed by GeographicLib.
 * 

* Define constants specifying the WGS84 ellipsoid. ***********************************************************************/ public class Constants { /** * The equatorial radius of WGS84 ellipsoid (6378137 m). **********************************************************************/ public static final double WGS84_a = 6378137; /** * The flattening of WGS84 ellipsoid (1/298.257223563). **********************************************************************/ public static final double WGS84_f = 1/298.257223563; private Constants() {} }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy