Class NormalizedGeodeticPoint

  • All Implemented Interfaces:
    Serializable

    public class NormalizedGeodeticPoint
    extends GeodeticPoint
    Geodetic point whose longitude can be selected with respect to the 2π boundary.
    Author:
    Luc Maisonobe
    See Also:
    Serialized Form
    • Constructor Detail

      • NormalizedGeodeticPoint

        public NormalizedGeodeticPoint​(double latitude,
                                       double longitude,
                                       double altitude,
                                       double centralLongitude)
        Build a new instance. The angular coordinates will be normalized to ensure that the latitude is between ±π/2 and the longitude is between lc-π and lc+π.
        Parameters:
        latitude - latitude of the point
        longitude - longitude of the point
        altitude - altitude of the point
        centralLongitude - central longitude lc
    • Method Detail

      • getLongitude

        public double getLongitude()
        Get the longitude.
        Overrides:
        getLongitude in class GeodeticPoint
        Returns:
        longitude, an angular value in the range [lc-π, lc+π], where l₀ was selected at construction