public class

AngularUnit

extends Unit
java.lang.Object
   ↳ com.esri.core.geometry.Unit
     ↳ com.esri.core.geometry.AngularUnit

Class Overview

The units to measure angles.

Summary

Nested Classes
interface AngularUnit.Code The codes defined for the angular units. 
[Expand]
Inherited Fields
From class com.esri.core.geometry.Unit
Public Constructors
AngularUnit(int WKID)
Public Methods
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.
[Expand]
Inherited Methods
From class com.esri.core.geometry.Unit
From class java.lang.Object

Public Constructors

public AngularUnit (int WKID)

Parameters
WKID Integer value for WKID.

Public Methods

public double convertFromRadians (double radians)

Converts radian to the angular unit of the object.

Parameters
radians The value in radians to convert.
Returns
  • The angular unit value corresponding to the input parameter.

public double convertToRadians (double valueToConvert)

Converts from the angular units of the object to radian units.

Parameters
valueToConvert The angular unit of the object that will be converted into radian.
Returns
  • The value in radian corresponding to the input parameter.

public 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.

Parameters
other The other object.
Returns
  • true, if equals

public String getAbbreviation ()

Returns the abbreviated name of this unit.

Returns
  • A string value of abbreviation for unit.

public double getConversionFactor (Unit dstUnit)

Returns the conversion factor.

Parameters
dstUnit The destination unit.
Returns
  • A double conversion factor.

public String getDisplayName ()

Returns the display name of this unit.

Returns
  • A string value of unit display name.

public int getID ()

Returns the well-known ID.

Returns
  • Integer value for wkid.

public String getName ()

Returns the canonical name of the unit as defined in Projection Engine.

Returns
  • A string representation of Projection Engine unit name.

public String getPluralDisplayName ()

Returns the plural display name of this unit.s

Returns
  • string value of plural display name

public Unit.UnitType getUnitType ()

Returns the unit type.

Returns
  • the unit type