public static class PlanUtilities.Waypoint
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PlanUtilities.Waypoint.TYPE |
| Constructor and Description |
|---|
Waypoint() |
| Modifier and Type | Method and Description |
|---|---|
PlanUtilities.Waypoint |
copy() |
float |
getAltitude() |
float |
getDepth() |
float |
getHeight() |
double |
getLatitude() |
double |
getLongitude() |
float |
getRadius() |
float |
getSpeed() |
float |
getTime() |
PlanUtilities.Waypoint.TYPE |
getType() |
void |
setAltitude(float altitude) |
void |
setDepth(float depth) |
void |
setHeight(float height) |
void |
setLatitude(double latitude) |
void |
setLongitude(double longitude) |
void |
setRadius(float radius) |
void |
setSpeed(float speed) |
void |
setTime(float time) |
void |
setType(PlanUtilities.Waypoint.TYPE type) |
public double getLatitude()
public void setLatitude(double latitude)
latitude - the latitude in degrees of the waypointpublic double getLongitude()
public void setLongitude(double longitude)
longitude - the longitude in degrees of the waypointpublic float getAltitude()
Float.NaN if not
setpublic void setAltitude(float altitude)
altitude - the altitude in meters or Float.NaN to
unsetpublic float getDepth()
Float.NaN if not setpublic void setDepth(float depth)
depth - the depth in meters or Float.NaN to
unsetpublic float getHeight()
Float.NaN if
not setpublic void setHeight(float height)
height - the WGS84 height in meters or Float.NaN
to unsetpublic float getRadius()
public void setRadius(float radius)
radius - the radius in meters or 0 if not applicablepublic float getTime()
public void setTime(float time)
time - time in seconds to stay at this waypointpublic PlanUtilities.Waypoint.TYPE getType()
public void setType(PlanUtilities.Waypoint.TYPE type)
type - the type of waypoint to setpublic float getSpeed()
public void setSpeed(float speed)
speed - the speed to set in meters per secondpublic PlanUtilities.Waypoint copy()