AngularUnitId enum

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 factory method. The function Unit.wkid returns the WKID of the unit.

Inheritance

Constructors

AngularUnitId()
const

Values

other → const AngularUnitId

Indicates that the unit of angular measurement is a custom unit, or is 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.

degrees → const AngularUnitId

Indicates an angular measurement in degrees. This unit has a WKID of 9102.

grads → const AngularUnitId

Indicates an angular measurement in grads. This unit has a WKID of 9105.

minutes → const AngularUnitId

Indicates an angular measurement in minutes, equal to one-sixtieth of a degree. This unit has a WKID of 9103.

radians → const AngularUnitId

Indicates an angular measurement in radians. This unit has a WKID of 9101.

seconds → const AngularUnitId

Indicates an angular measurement in seconds, equal to one-sixtieth of a minute. This unit has a WKID of 9104.

Properties

coreValue → RT_AngularUnitId
no setter
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<AngularUnitId>
A constant List of the values in this enum, in order of their declaration.