es.uv.robotica.gvsig.mobile.gps.tracklog
Class Trackpoint

java.lang.Object
  extended byes.uv.robotica.gvsig.mobile.gps.tracklog.Trackpoint

public class Trackpoint
extends java.lang.Object

Holds information about a trackpoint

Author:
juangui
See Also:
TracklogManager, Tracklogger

Field Summary
 java.util.Date time
          Creation/modification timestamp for element.
 
Constructor Summary
Trackpoint(double _lat, double _lon, double _ele, java.util.Date _time)
          Constructor
 
Method Summary
 double getEle()
          Gets elevation of the trackpoint
 double getLat()
          Gets latitude of the trackpoint
 double getLon()
          Gets longitude of the trackpoint
 java.util.Date getTime()
          Gets time of the trackpoint
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

time

public java.util.Date time
Creation/modification timestamp for element. Date and time in are in Univeral Coordinated Time (UTC), not local time! Conforms to ISO 8601 specification for date/time representation. Fractional seconds are allowed for millisecond timing in tracklogs.

Constructor Detail

Trackpoint

public Trackpoint(double _lat,
                  double _lon,
                  double _ele,
                  java.util.Date _time)
Constructor

Parameters:
_lat - The latitude of the trackpoint.
_lon - The longitude of the trackpoint.
_ele - Elevation (in meters) of the trackpoint.
_time - Creation/modification timestamp for the trackpoint.
Method Detail

getLat

public double getLat()
Gets latitude of the trackpoint

Returns:
latitude

getLon

public double getLon()
Gets longitude of the trackpoint

Returns:
longitude

getEle

public double getEle()
Gets elevation of the trackpoint

Returns:
elevation

getTime

public java.util.Date getTime()
Gets time of the trackpoint

Returns:
time expressed as an instance of Date