dk.itu.haas.GPS
Class PositionDegrees

java.lang.Object
  |
  +--dk.itu.haas.GPS.PositionDegrees

public class PositionDegrees
extends java.lang.Object

Class used to store degrees, usually latitude or longitude.


Field Summary
protected  double value
           
 
Constructor Summary
PositionDegrees(double v)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected double value
Constructor Detail

PositionDegrees

public PositionDegrees(double v)
Method Detail

getDegrees

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


convertToRadians

public PositionRadians convertToRadians()
Converts the degrees to Radians.


getMinutes

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