de.fhg.igd.gps
Class Longitude

java.lang.Object
  extended byde.fhg.igd.gps.AngularDistance
      extended byde.fhg.igd.gps.Longitude

public class Longitude
extends AngularDistance

This class represents a geographic longitude used for global positioning.

Author:
Dennis Bartussek

Field Summary
 
Fields inherited from class de.fhg.igd.gps.AngularDistance
deg_, FORMAT_DEG, FORMAT_DEG_MIN, FORMAT_DEG_MIN_SEC, FORMAT_SIGNED, MAX_VALUE, NEG_CHAR, POS_CHAR
 
Constructor Summary
Longitude()
          Constructs a new Longitude.
Longitude(double degrees)
          Constructs a new Longitude that represents the specified double argument, measured in decimal degrees.
 
Method Summary
 Longitude deepClone()
          Returns a deep clone of this Longitude.
 
Methods inherited from class de.fhg.igd.gps.AngularDistance
getDegrees, minuteToDegree, normalize, parse, parseGpsField, setDegrees, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Longitude

public Longitude()
Constructs a new Longitude.


Longitude

public Longitude(double degrees)
Constructs a new Longitude that represents the specified double argument, measured in decimal degrees.

Parameters:
degrees - the value to be represented by this Longitude
Method Detail

deepClone

public Longitude deepClone()
Returns a deep clone of this Longitude.

Returns:
a deep clone of this Longitude


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.