|
||||||||||
| 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.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.UnitType |
| 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 a conversion factor from this unit to the destination unit. |
String |
getDisplayName()
Returns the display name of this unit. |
int |
getID()
Returns the unit 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. |
| Methods inherited from class com.esri.core.geometry.Unit |
|---|
convertUnits, convertUnits, create, getUnitToBaseFactor, hashCode |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getName()
Unit
getName in class Unitpublic String getDisplayName()
Unit
getDisplayName in class Unitpublic String getPluralDisplayName()
Unit
getPluralDisplayName in class Unitpublic String getAbbreviation()
Unit
getAbbreviation in class Unitpublic int getID()
Unit
getID in class Unitpublic double getConversionFactor(Unit dstUnit)
Unit
getConversionFactor in class UnitdstUnit - The destination unit.
public boolean equals(Object other)
Unit
equals in class Unitother - The other object.public Unit.UnitType getUnitType()
Unit
getUnitType in class Unitpublic 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 | |||||||||