|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjwo.landserf.process.gps.AngleRadians
Used to represent an angular coordinate in radians, usually for global lat,lng position.
Constructor Summary | |
AngleRadians(double angle)
Initialises object with a given angle in degrees. |
Method Summary | |
boolean |
equals(AngleRadians otherAngle)
Tests if the two angles are identical. |
double |
getAngle()
Reports his angle in radians. |
int |
getDegrees()
Reports the whole degrees part of this angle. |
double |
getMinutes()
Reports the minutes part of this angle. |
boolean |
greaterThan(AngleRadians otherAngle)
Tests if this angle is greater than the given angle. |
boolean |
lessThan(AngleRadians otherAngle)
Tests if this angle is less than the given angle. |
String |
toString()
Reports the value of this angle in degrees and minutes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AngleRadians(double angle)
angle
- Angle in degrees.Method Detail |
public double getAngle()
public int getDegrees()
public double getMinutes()
public String toString()
public boolean equals(AngleRadians otherAngle)
otherAngle
- Other angle to compare with this one.
public boolean greaterThan(AngleRadians otherAngle)
otherAngle
- Other angle to compare with this one.
public boolean lessThan(AngleRadians otherAngle)
otherAngle
- Other angle to compare with this one.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |