| java.lang.Object | ||
| ↳ | com.esri.core.geometry.Unit | |
| ↳ | com.esri.core.geometry.AreaUnit | |
The units to measure for areas.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| interface | AreaUnit.Code | Area unit codes. | |||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.esri.core.geometry.Unit
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| AreaUnit(int WKID) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| double |
convertFromSquareMeters(double squareMeters)
Converts square meters to the area units of the object.
| ||||||||||
| double |
convertToSquareMeters(double thisUnitValue)
Converts the area units to square meters of the object.
| ||||||||||
| boolean |
equals(Object other)
Indicates if this unit is the same type (linear, angular, or area) and the
same unit(meter, degree, acre, etc.)as another.
| ||||||||||
| String |
getAbbreviation()
Returns the abbreviated name of this unit.
| ||||||||||
| double |
getConversionFactor(Unit dstUnit)
Returns a conversion factor from this unit to the destination unit.
| ||||||||||
| String |
getDisplayName()
Returns the display name of this unit.
| ||||||||||
| int |
getID()
Returns the unit's well-known ID.
| ||||||||||
| String |
getName()
Returns the canonical name of the unit as defined in Projection Engine.
| ||||||||||
| String |
getPluralDisplayName()
Returns the display name of this unit.
| ||||||||||
| Unit.UnitType |
getUnitType()
Returns the unit type.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.esri.core.geometry.Unit
| |||||||||||
From class
java.lang.Object
| |||||||||||
| WKID | well-known ID. |
|---|
Converts square meters to the area units of the object.
| squareMeters | The value in square meters. |
|---|
Converts the area units to square meters of the object.
| thisUnitValue | The value in this area units to convert. |
|---|
Indicates if this unit is the same type (linear, angular, or area) and the same unit(meter, degree, acre, etc.)as another.
| other | The other object. |
|---|
Returns the abbreviated name of this unit.
Returns a conversion factor from this unit to the destination unit.
| dstUnit | The destination unit. |
|---|
Returns the display name of this unit.
Returns the unit's well-known ID.
Returns the canonical name of the unit as defined in Projection Engine.
Returns the display name of this unit.