org.jscience.devices.gps
Class PositionDegrees

java.lang.Object
  extended by org.jscience.devices.gps.PositionDegrees

public class PositionDegrees
extends java.lang.Object

Class used to store degrees, usually latitude or longitude.


Field Summary
protected  double value
          DOCUMENT ME!
 
Constructor Summary
PositionDegrees(double v)
          Creates a new PositionDegrees object.
 
Method Summary
 PositionRadians convertToRadians()
          Converts the degrees to Radians.
 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.
 java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

protected double value
DOCUMENT ME!

Constructor Detail

PositionDegrees

public PositionDegrees(double v)
Creates a new PositionDegrees object.

Parameters:
v - DOCUMENT ME!
Method Detail

getDegrees

public int getDegrees()
Returns the degrees part of this object, when converted to coordinates.

Returns:
DOCUMENT ME!

convertToRadians

public PositionRadians convertToRadians()
Converts the degrees to Radians.

Returns:
DOCUMENT ME!

getMinutes

public double getMinutes()
Returns the minutes part of this object, when converted to coordinates.

Returns:
DOCUMENT ME!

toString

public java.lang.String toString()
DOCUMENT ME!

Overrides:
toString in class java.lang.Object
Returns:
DOCUMENT ME!