Class PrimeMeridian


  • public class PrimeMeridian
    extends CrsIdentifiable
    A prime meridian.

    A prime meridian is defined by [CTS-1.00] as follows: "[The prime meridian] defines the meridian used to take longitude measurements from. The units of the longitude must be inferred from the context. If [this object] occurs inside a [geographic coordinate reference system], then the longitude units will match those of the geographic coordinate system. If [it] occurs inside a [geo-centric coordinate reference system], then the units will be in degrees. The longitude value defines the angle of the prime meridian relative to the Greenwich Meridian. A positive value indicates the prime meridian is East of Greenwich, and a negative value indicates the prime meridian is West of Greenwich

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

      • PrimeMeridian

        public PrimeMeridian​(CrsId crsId,
                             String name,
                             double longitude)
        Constructs an instance
        Parameters:
        crsId - the identifier for the new prime meridian
        name - the common name for the new prime meridian
        longitude - the angle of the new prime meridian relative to Greenwich Meridian
    • Method Detail

      • getLongitude

        public double getLongitude()
        Returns the angle of this meridian relative to Greenwich Meridian.
        Returns: