Enum AngularUnitId

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<AngularUnitId>

    public enum AngularUnitId
    extends java.lang.Enum<AngularUnitId>
    Defines a list of the most commonly-used angular units of measurement. These values can be used to create instances of AngularUnit, as an alternative to using well-known IDs (WKIDs).

    In addition to the units in this enumeration, you can also use less commonly-used units, by passing a WKID of an angular unit to the inherited Unit.fromWkid(int) factory method. The supported WKIDs are documented in the 'Geographic coordinate systems' table in the developer Guide.

    Since:
    100.0.0
    See Also:
    AngularUnit.getAngularUnitId(), AngularUnit(AngularUnitId), Unit.getUnitId()
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DEGREES
      Indicates an angular measurement in degrees.
      GRADS
      Indicates an angular measurement in grads.
      MINUTES
      Indicates an angular measurement in minutes, equal to one-sixtieth of a degree.
      OTHER
      Indicates that the unit of angular measurement is a custom unit, or a unit not listed in the enumerated type.
      RADIANS
      Indicates an angular measurement in radians.
      SECONDS
      Indicates an angular measurement in seconds, equal to one-sixtieth of a minute.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static AngularUnitId valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static AngularUnitId[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • DEGREES

        public static final AngularUnitId DEGREES
        Indicates an angular measurement in degrees. This unit has a WKID of 9102.
      • MINUTES

        public static final AngularUnitId MINUTES
        Indicates an angular measurement in minutes, equal to one-sixtieth of a degree. This unit has a WKID of 9103.
      • SECONDS

        public static final AngularUnitId SECONDS
        Indicates an angular measurement in seconds, equal to one-sixtieth of a minute. This unit has a WKID of 9104.
      • GRADS

        public static final AngularUnitId GRADS
        Indicates an angular measurement in grads. This unit has a WKID of 9105.
      • RADIANS

        public static final AngularUnitId RADIANS
        Indicates an angular measurement in radians. This unit has an WKID of 9101.
      • OTHER

        public static final AngularUnitId OTHER
        Indicates that the unit of angular measurement is a custom unit, or a unit not listed in the enumerated type.

        This value may be returned from an AngularUnit created from a WKID of a less commonly used unit of measurement that does not have an equivalent value in this enumeration. See Unit.getUnitId().

    • Method Detail

      • values

        public static AngularUnitId[] 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 (AngularUnitId c : AngularUnitId.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AngularUnitId valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null