ArcGIS Runtime SDK for iOS
100.15
|
Instance Methods | |
(double) | - convert:fromUnit: |
(double) | - convert:toUnit: |
(double) | - convertFromSquareMeters: |
(double) | - convertToSquareMeters: |
(nullable instancetype) | - initWithLinearUnit: |
(nullable instancetype) | - initWithUnitID: |
(BOOL) | - isEqualToUnit: |
(nullable AGSLinearUnit *) | - toLinearUnit |
Class Methods | |
(nullable instancetype) | + areaUnitWithLinearUnit: |
(instancetype) | + squareFeet |
(instancetype) | + squareKilometers |
(instancetype) | + squareMeters |
(instancetype) | + squareMiles |
(nullable instancetype) | + unitWithUnitID: |
(nullable instancetype) | + unitWithWKID: |
Properties | |
NSString * | abbreviation |
NSString * | displayName |
NSString * | name |
NSString * | pluralDisplayName |
AGSAreaUnitID | unitID |
NSInteger | WKID |
+ (nullable instancetype) areaUnitWithLinearUnit: | (AGSLinearUnit *) | linearUnit |
Creates an area unit from the corresponding linear unit.
linearUnit | The linear unit that you want to create an area unit from. |
- (double) convert: | (double) | area | |
fromUnit: | (AGSAreaUnit *) | fromUnit | |
Converts the value from the specified area unit into this unit.
area | The area value to convert. |
fromUnit | The units the given value is already in. |
- (double) convert: | (double) | area | |
toUnit: | (AGSAreaUnit *) | toUnit | |
Converts the value from this unit to the specified area unit.
area | The area value to convert. |
toUnit | The units the converted value needs to be in. |
- (double) convertFromSquareMeters: | (double) | area |
Converts the value from square meters into this unit.
area | The are value to convert. |
- (double) convertToSquareMeters: | (double) | area |
Converts the value from this unit to square meters.
area | The area value to convert. |
- (nullable instancetype) initWithLinearUnit: | (AGSLinearUnit *) | linearUnit |
Creates an area unit from the corresponding linear unit.
linearUnit | The linear unit that you want to create an area unit from. |
- (nullable instancetype) initWithUnitID: | (AGSAreaUnitID) | unitID |
Creates an area unit.
unitID | The area unit ID. |
- (BOOL) isEqualToUnit: | (AGSUnit *) | unit |
Compares whether two units are equal.
unit | to compare this one to |
+ (instancetype) squareFeet |
An area unit representing square feet.
+ (instancetype) squareKilometers |
An area unit representing square kilometers.
+ (instancetype) squareMeters |
An area unit representing square meters.
+ (instancetype) squareMiles |
An area unit representing square miles.
- (nullable AGSLinearUnit*) toLinearUnit |
Returns the corresponding linear unit for this area unit.
+ (nullable instancetype) unitWithUnitID: | (AGSAreaUnitID) | unitID |
Creates an area unit.
unitID | The area unit ID. |
+ (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.