|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.geometry.Unit
com.esri.core.geometry.LinearUnit
public class LinearUnit

Unit for measurement of dimensions.
| Nested Class Summary | |
|---|---|
static interface |
LinearUnit.Code
Linear Unit codes |
| Nested classes/interfaces inherited from class com.esri.core.geometry.Unit |
|---|
Unit.EsriUnit, Unit.UnitType |
| Field Summary |
|---|
| Fields inherited from class com.esri.core.geometry.Unit |
|---|
m_factor, mAbbreviation, mDisplayName, mID, mName, mPluralDisplayName, mWKID |
| Constructor Summary | |
|---|---|
LinearUnit(int WKID)
|
|
| Method Summary | |
|---|---|
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)
Deprecated. Method introduced at Beta. Will be removed at next release. |
| Methods inherited from class com.esri.core.geometry.Unit |
|---|
convertUnits, convertUnits, create, getUnitToBaseFactor, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LinearUnit(int WKID)
WKID - | Method Detail |
|---|
public String getName()
getName in class Unitpublic String getDisplayName()
getDisplayName in class Unitpublic String getPluralDisplayName()
getPluralDisplayName in class Unitpublic String getAbbreviation()
getAbbreviation in class Unitpublic int getID()
getID in class Unitpublic double getConversionFactor(Unit dstUnit)
getConversionFactor in class UnitdstUnit - The destination unit.
public boolean equals(Object other)
equals in class Unitother - The other object.
public Unit.UnitType getUnitType()
getUnitType in class Unitpublic double convertFromMeters(double meters)
meters - The value in meters to convert.
@Deprecated public double toMeters(double thisUnitValue)
thisUnitValue - the this unit value
convertToMeters(double)public double convertToMeters(double thisUnitValue)
thisUnitValue - The value in this linear units to convert.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||