Enum Projection

  • All Implemented Interfaces:
    Serializable, Comparable<Projection>, Key

    public enum Projection
    extends Enum<Projection>
    implements Key
    Enumerates the possible map projections which are a way to flatten a globe's surface into a plane in order to make a map.
    Author:
    Andrea "Stock" Stocchero
    • Enum Constant Detail

      • AZIMUTHAL_EQUAL_AREA

        public static final Projection AZIMUTHAL_EQUAL_AREA
        Projection azimuthalEqualArea.
      • AZIMUTHAL_EQUIDISTANT

        public static final Projection AZIMUTHAL_EQUIDISTANT
        Projection azimuthalEquidistant.
      • GNOMONIC

        public static final Projection GNOMONIC
        Projection gnomonic.
      • ORTHOGRAPHIC

        public static final Projection ORTHOGRAPHIC
        Projection orthographic.
      • STEREOGRAPHIC

        public static final Projection STEREOGRAPHIC
        Projection stereographic.
      • EQUAL_EARTH

        public static final Projection EQUAL_EARTH
        Projection equalEarth.
      • ALBERS

        public static final Projection ALBERS
        Projection albers.
      • ALBERS_USA

        public static final Projection ALBERS_USA
        Projection albersUsa.
      • CONIC_CONFORMAL

        public static final Projection CONIC_CONFORMAL
        Projection conicConformal.
      • CONIC_EQUAL_AREA

        public static final Projection CONIC_EQUAL_AREA
        Projection conicEqualArea.
      • CONIC_EQUIDISTANT

        public static final Projection CONIC_EQUIDISTANT
        Projection conicEquidistant.
      • EQUIRECTANGULAR

        public static final Projection EQUIRECTANGULAR
        Projection equirectangular.
      • MERCATOR

        public static final Projection MERCATOR
        Projection mercator.
      • TRANSVERSE_MERCATOR

        public static final Projection TRANSVERSE_MERCATOR
        Projection transverseMercator.
      • NATURAL_EARTH1

        public static final Projection NATURAL_EARTH1
        Projection naturalEarth1.
    • Method Detail

      • values

        public static Projection[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Projection c : Projection.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Projection valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()
        Description copied from interface: Key
        Returns the name value of property
        Specified by:
        value in interface Key
        Returns:
        the name value of property