ArcGIS Runtime SDK for iOS
100.15
|
Defines an angular unit of measurement.
The angular unit class is derived from AGSUnit
.
AGSUnit
Instance Methods | |
(double) | - convert:fromUnit: |
(double) | - convert:toUnit: |
(double) | - convertFromRadians: |
(double) | - convertToRadians: |
(nullable instancetype) | - initWithUnitID: |
(BOOL) | - isEqualToUnit: |
Class Methods | |
(instancetype) | + degrees |
(instancetype) | + radians |
(nullable instancetype) | + unitWithUnitID: |
(nullable instancetype) | + unitWithWKID: |
Properties | |
NSString * | abbreviation |
NSString * | displayName |
NSString * | name |
NSString * | pluralDisplayName |
AGSAngularUnitID | unitID |
NSInteger | WKID |
- (double) convert: | (double) | value | |
fromUnit: | (AGSAngularUnit *) | fromUnit | |
Converts the value from the specified angular unit into this unit.
value | The value to convert. |
fromUnit | The units the given value is already in. |
- (double) convert: | (double) | angle | |
toUnit: | (AGSAngularUnit *) | toUnit | |
Converts the value from this unit to the specified angular unit.
angle | The angle value to convert. |
toUnit | The units the converted value needs to be in. |
- (double) convertFromRadians: | (double) | radians |
Converts the value from radians into this unit.
radians | The radians value to convert |
- (double) convertToRadians: | (double) | angle |
Converts the value from this unit to radians.
angle | The angle value to convert. |
+ (instancetype) degrees |
An angular unit representing degrees.
- (nullable instancetype) initWithUnitID: | (AGSAngularUnitID) | unitID |
Creates an angular unit.
unitID | The angular unit ID of the unit. |
- (BOOL) isEqualToUnit: | (AGSUnit *) | unit |
Compares whether two units are equal.
unit | to compare this one to |
+ (instancetype) radians |
An angular unit representing radians.
+ (nullable instancetype) unitWithUnitID: | (AGSAngularUnitID) | unitID |
Creates an angular unit.
unitID | The angular unit ID of the unit. |
+ (nullable instancetype) unitWithWKID: | (NSInteger) | WKID |
Create a unit with the given well-known ID (WKID). This allows you to create a unit from a WKID that is not in the associated UnitID enumeration.
WKID | The well-known ID of the unit |
|
readnonatomiccopyinherited |
Abbreviated name of the unit.
|
readnonatomiccopyinherited |
A user-friendly name of the measurement unit.
|
readnonatomiccopyinherited |
The name of the measurement unit.
|
readnonatomiccopyinherited |
A plural form of the user-friendly name.
|
readnonatomicassign |
|
readnonatomicassigninherited |
The well-known ID for the unit, or 0
for a custom unit.