|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.devices.gps.PositionRadians
public class PositionRadians
Class used to store radians, usually latitude or longitude. Contains methods for converting to the format degress,minutes.
| Constructor Summary | |
|---|---|
PositionRadians(double v)
Initializes the PositionRadians-object. |
|
| Method Summary | |
|---|---|
boolean |
equals(PositionRadians p)
Tests if the two PositionRadians contains the same value. |
int |
getDegrees()
Returns the degrees part of this object, when converted to coordinates. |
double |
getMinutes()
Returns the minutes part of this object, when converted to coordinates. |
double |
getRadians()
DOCUMENT ME! |
boolean |
greaterThan(PositionRadians p)
Tests if this PositionRadians is greater than p. |
boolean |
smallerThan(PositionRadians p)
Tests if this PositionRadians is smaller than p. |
java.lang.String |
toString()
DOCUMENT ME! |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PositionRadians(double v)
v - DOCUMENT ME!| Method Detail |
|---|
public double getRadians()
public int getDegrees()
public double getMinutes()
public boolean equals(PositionRadians p)
p - DOCUMENT ME!
public boolean greaterThan(PositionRadians p)
p - DOCUMENT ME!
public boolean smallerThan(PositionRadians p)
p - DOCUMENT ME!
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||