|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.geometry.Unit com.esri.core.geometry.AngularUnit
public class AngularUnit
The units to measure angles.
Nested Class Summary | |
---|---|
static interface |
AngularUnit.Code
The codes defined for the angular units. |
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 | |
---|---|
AngularUnit(int WKID)
|
Method Summary | |
---|---|
double |
convertFromRadians(double radians)
Converts radian to the angular unit of the object. |
double |
convertToRadians(double valueToConvert)
Converts from the angular units of the object to radian units. |
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 the conversion factor. |
String |
getDisplayName()
Returns the display name of this unit. |
int |
getID()
Returns the well-known ID. |
String |
getName()
Returns the canonical name of the unit as defined in Projection Engine. |
String |
getPluralDisplayName()
Returns the plural display name of this unit.s |
Unit.UnitType |
getUnitType()
Returns the unit type. |
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 AngularUnit(int WKID)
WKID
- Integer value for WKID.Method Detail |
---|
public String getName()
getName
in class Unit
public String getDisplayName()
Unit
getDisplayName
in class Unit
public String getPluralDisplayName()
getPluralDisplayName
in class Unit
public String getAbbreviation()
getAbbreviation
in class Unit
public int getID()
getID
in class Unit
public double getConversionFactor(Unit dstUnit)
getConversionFactor
in class Unit
dstUnit
- The destination unit.
public boolean equals(Object other)
equals
in class Unit
other
- The other object.
public Unit.UnitType getUnitType()
getUnitType
in class Unit
public double convertFromRadians(double radians)
radians
- The value in radians to convert.
public double convertToRadians(double valueToConvert)
valueToConvert
- The angular unit of the object that will be converted into radian.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |