- All Implemented Interfaces:
Serializable
,Comparable<AngularUnitId>
,Constable
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIndicates an angular measurement in degrees.Indicates an angular measurement in grads.Indicates an angular measurement in minutes, equal to one-sixtieth of a degree.Indicates that the unit of angular measurement is a custom unit, or a unit not listed in the enumerated type.Indicates an angular measurement in radians.Indicates an angular measurement in seconds, equal to one-sixtieth of a minute. -
Method Summary
Modifier and TypeMethodDescriptionstatic AngularUnitId
Returns the enum constant of this class with the specified name.static AngularUnitId[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEGREES
Indicates an angular measurement in degrees. This unit has a WKID of 9102. -
MINUTES
Indicates an angular measurement in minutes, equal to one-sixtieth of a degree. This unit has a WKID of 9103. -
SECONDS
Indicates an angular measurement in seconds, equal to one-sixtieth of a minute. This unit has a WKID of 9104. -
GRADS
Indicates an angular measurement in grads. This unit has a WKID of 9105. -
RADIANS
Indicates an angular measurement in radians. This unit has a WKID of 9101. -
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
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
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 nameNullPointerException
- if the argument is null
-