public class TrackPointImpl extends Object implements TrackPoint
Constructor and Description |
---|
TrackPointImpl(Angle lat,
Angle lon,
double elevation,
String time) |
TrackPointImpl(LatLon latLon,
double elevation,
String time) |
TrackPointImpl(Position position) |
TrackPointImpl(Position position,
String time) |
Modifier and Type | Method and Description |
---|---|
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) |
public TrackPointImpl(Position position)
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 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(String time)
setTime
in interface TrackPoint