Class ProjectionUTM

    • Field Detail

      • zone

        protected int zone
    • Constructor Detail

      • ProjectionUTM

        public ProjectionUTM()
        Creates a projection for UTM zone 1.
      • ProjectionUTM

        public ProjectionUTM​(int zone)
        Implements a Transverse Mercator projection for a specified UTM zone.
        Parameters:
        zone - The UTM zone of this projection, a value between 1 and 60, inclusive.
        Throws:
        java.lang.IllegalArgumentException - if the specified zone is less than 1 or greater than 60.
    • Method Detail

      • getZone

        public int getZone()
        Indicates the UTM zone of this projection.
        Returns:
        The UTM zone, a value between 1 and 60, inclusive.
      • setZone

        public void setZone​(int zone)
        Specifies the UTM zone for this projection.
        Parameters:
        zone - The UTM zone, a value between 1 and 60, inclusive.
        Throws:
        java.lang.IllegalArgumentException - If the specified zone is less than 1 or greater than 60.
        See Also:
        ProjectionTransverseMercator
      • centralMeridianForZone

        public static Angle centralMeridianForZone​(int zone)