public class TrackPointImpl extends java.lang.Object implements TrackPoint
Constructor and Description |
---|
TrackPointImpl(Angle lat,
Angle lon,
double elevation,
java.lang.String time) |
TrackPointImpl(LatLon latLon,
double elevation,
java.lang.String time) |
TrackPointImpl(Position position) |
TrackPointImpl(Position position,
java.lang.String time) |
Modifier and Type | Method and Description |
---|---|
double |
getElevation() |
double |
getLatitude() |
double |
getLongitude() |
Position |
getPosition() |
java.lang.String |
getTime() |
void |
setElevation(double elevation) |
void |
setLatitude(double latitude) |
void |
setLongitude(double longitude) |
void |
setPosition(Position position) |
void |
setTime(java.lang.String time) |
public TrackPointImpl(LatLon latLon, double elevation, java.lang.String time)
public TrackPointImpl(Position position)
public TrackPointImpl(Position position, java.lang.String time)
public double getElevation()
getElevation
in interface TrackPoint
public double getLatitude()
getLatitude
in interface TrackPoint
public double getLongitude()
getLongitude
in interface TrackPoint
public Position getPosition()
getPosition
in interface TrackPoint
public java.lang.String getTime()
getTime
in interface TrackPoint
public void setElevation(double elevation)
setElevation
in interface TrackPoint
public void setLatitude(double latitude)
setLatitude
in interface TrackPoint
public void setLongitude(double longitude)
setLongitude
in interface TrackPoint
public void setPosition(Position position)
setPosition
in interface TrackPoint
public void setTime(java.lang.String time)
setTime
in interface TrackPoint