|
ArcGIS Runtime SDK for iOS
100.9
|
Represents area units.
Instances of this class represetnt an area unit of measurement.
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 |
| + (nullable instancetype) areaUnitWithLinearUnit: | (AGSLinearUnit *) | linearUnit |
Initializes 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 | 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 | to convert. |
| toUnit | The units the converted value needs to be in |
| - (double) convertFromSquareMeters: | (double) | area |
Converts the value from sq. meters into this unit.
| area | to convert |
| - (double) convertToSquareMeters: | (double) | area |
Converts the value from this unit to sq. meters.
| area | to convert. |
| - (nullable instancetype) initWithLinearUnit: | (AGSLinearUnit *) | linearUnit |
Initializes 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 |
Initializes an area unit.
| unitID | 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 sq. feet
| + (instancetype) squareKilometers |
An area unit representing sq. kilometers
| + (instancetype) squareMeters |
An area unit representing sq. meters
| + (instancetype) squareMiles |
An area unit representing sq. miles
| - (nullable AGSLinearUnit*) toLinearUnit |
Returns the corresponding linear unit for this area unit.
| + (nullable instancetype) unitWithUnitID: | (AGSAreaUnitID) | unitID |
Initializes an area unit.
| unitID | 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 |