NASA World Wind

gov.nasa.worldwind.tracks
Class TrackPointImpl

java.lang.Object
  extended by gov.nasa.worldwind.tracks.TrackPointImpl
All Implemented Interfaces:
TrackPoint

public class TrackPointImpl
extends Object
implements TrackPoint


Constructor Summary
TrackPointImpl(Angle lat, Angle lon, double elevation, String time)
           
TrackPointImpl(LatLon latLon, double elevation, String time)
           
TrackPointImpl(Position position)
           
TrackPointImpl(Position position, String time)
           
 
Method Summary
 double getElevation()
           
 double getLatitude()
           
 double getLongitude()
           
 Position getPosition()
           
 String getTime()
           
 void setElevation(double elevation)
           
 void setLatitude(double latitude)
           
 void setLongitude(double longitude)
           
 void setPosition(Position position)
           
 void setTime(String time)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrackPointImpl

public TrackPointImpl(Angle lat,
                      Angle lon,
                      double elevation,
                      String time)

TrackPointImpl

public TrackPointImpl(LatLon latLon,
                      double elevation,
                      String time)

TrackPointImpl

public TrackPointImpl(Position position)

TrackPointImpl

public TrackPointImpl(Position position,
                      String time)
Method Detail

getElevation

public double getElevation()
Specified by:
getElevation in interface TrackPoint

getLatitude

public double getLatitude()
Specified by:
getLatitude in interface TrackPoint

getLongitude

public double getLongitude()
Specified by:
getLongitude in interface TrackPoint

getPosition

public Position getPosition()
Specified by:
getPosition in interface TrackPoint

getTime

public String getTime()
Specified by:
getTime in interface TrackPoint

setElevation

public void setElevation(double elevation)
Specified by:
setElevation in interface TrackPoint

setLatitude

public void setLatitude(double latitude)
Specified by:
setLatitude in interface TrackPoint

setLongitude

public void setLongitude(double longitude)
Specified by:
setLongitude in interface TrackPoint

setPosition

public void setPosition(Position position)
Specified by:
setPosition in interface TrackPoint

setTime

public void setTime(String time)
Specified by:
setTime in interface TrackPoint

NASA World Wind