|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjwo.landserf.process.gps.AngleRadians
public class AngleRadians
Used to represent an angular coordinate in radians, usually for global longitude, latitude 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()
toString in class Objectpublic 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 | ||||||||