public class Waypoint
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
desc |
private double |
ele |
private double |
lat |
private double |
lon |
protected java.lang.String |
name |
private java.util.Date |
time |
protected java.lang.String |
type |
Constructor and Description |
---|
Waypoint(double lat,
double lon)
Constructs a
Waypoint . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDesc() |
double |
getEle() |
double |
getLat() |
double |
getLon() |
java.lang.String |
getName() |
java.util.Date |
getTime() |
java.lang.String |
getType() |
void |
setDesc(java.lang.String desc) |
void |
setEle(double ele) |
void |
setLat(double lat) |
void |
setLon(double lon) |
void |
setName(java.lang.String name) |
void |
setTime(java.util.Date time) |
void |
setType(java.lang.String type) |
private double lat
private double lon
private double ele
private java.util.Date time
protected java.lang.String name
protected java.lang.String desc
protected java.lang.String type
public Waypoint(double lat, double lon)
Waypoint
.lat
- Latitude.lon
- Longitude.public double getLat()
public void setLat(double lat)
public double getLon()
public void setLon(double lon)
public double getEle()
public void setEle(double ele)
public java.util.Date getTime()
public void setTime(java.util.Date time)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getDesc()
public void setDesc(java.lang.String desc)
public java.lang.String getType()
public void setType(java.lang.String type)