Enum Class AngularUnitId

java.lang.Object
java.lang.Enum<AngularUnitId>
com.esri.arcgisruntime.geometry.AngularUnitId
All Implemented Interfaces:
Serializable, Comparable<AngularUnitId>, Constable

public enum AngularUnitId extends 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:
  • Enum Constant Details

    • 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 a 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.getWkid().

  • Method Details

    • values

      public static AngularUnitId[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AngularUnitId valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null