java.lang.Object | ||
↳ | com.esri.core.geometry.Unit | |
↳ | com.esri.core.geometry.LinearUnit |
Unit for measurement of dimensions.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
interface | LinearUnit.Code | Linear Unit codes |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
LinearUnit(int WKID) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
double |
convertFromMeters(double meters)
Converts meters to this LinearUnit.
| ||||||||||
double |
convertToMeters(double thisUnitValue)
Converts this linear units to meters.
| ||||||||||
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.
| ||||||||||
double |
toMeters(double thisUnitValue)
This method is deprecated.
Method introduced at Beta. Will be removed at next release.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Converts meters to this LinearUnit.
meters | The value in meters to convert. |
---|
Converts this linear units to meters.
thisUnitValue | The value in this linear 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.
This method is deprecated.
Method introduced at Beta. Will be removed at next release.
To meters.
thisUnitValue | the this unit value |
---|