Class Ellipsoid


  • public class Ellipsoid
    extends CrsIdentifiable
    An ellipsoid.

    An ellipsoid is an approximation of the Earth's surface as a squashed sphere. A common synonym is "spheroid". (See [CTS-1.00], p. 22-23.)

    Author:
    Karel Maesen, Geovise BVBA creation-date: 8/2/11
    • Constructor Detail

      • Ellipsoid

        public Ellipsoid​(CrsId crsId,
                         String name,
                         double semiMajorAxis,
                         double inverseFlattening)
        constructs an instance
        Parameters:
        crsId - the identifier for this Ellipsoid
        name - the commonly used name for this Ellipsoid
        semiMajorAxis - the semi-major axis
        inverseFlattening -
    • Method Detail

      • getSemiMajorAxis

        public double getSemiMajorAxis()
        Returns the semi-major axis of this Ellipsoid.

        The semi-major axis is the equatorial radius in meters. [CTS-1.00], p. 61

        Returns:
        the semi-major axis.
      • getInverseFlattening

        public double getInverseFlattening()
        Returns the inverse flattening.

        The inverse flattening is related to the equatorial/polar radius by the formula ivf=re/(re-rp). For perfect spheres, this formula breaks down, and a special IVF value of zero is used. [CTS-1.00], p.61

        Returns: