Enum AngularUnitId

    • 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​(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