|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.sdoapi.sref.AngularUnit
This class defines commonly used angular units. Angular units are mostly used in geographic coordinate system.
Field Summary | |
static AngularUnit |
decimalDegree
"Decimal Degree", Math.PI/180.0 |
static AngularUnit |
decimalMinute
"Decimal Minute", Math.PI/180.0/60.0 |
static AngularUnit |
decimalSecond
"Decimal Second", Math.PI/180.0/360.0 |
static AngularUnit |
gon
"Gon", Math.PI/200.0 |
static AngularUnit |
grad
"Grad", Math.PI/200.0 |
static AngularUnit |
radian
"Radian", 1.0 |
Constructor Summary | |
AngularUnit(java.lang.String name,
double inRadian)
Constructs a new angular unit object. |
Method Summary | |
java.lang.String |
getName()
Gets the string name for this angular unit. |
double |
inRadian()
The conversion factor between this unit and the radian. |
java.lang.String |
toString()
Converts to a string in a form of "name, inRadian". |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final AngularUnit decimalDegree
public static final AngularUnit radian
public static final AngularUnit decimalMinute
public static final AngularUnit decimalSecond
public static final AngularUnit gon
public static final AngularUnit grad
Constructor Detail |
public AngularUnit(java.lang.String name, double inRadian)
name
- the string name given to this angular unitinRadian
- the equivalence of this unit in radiansMethod Detail |
public java.lang.String getName()
public double inRadian()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |