public interface VehicleMapItem extends AnchoredMapItem
Modifier and Type | Method and Description |
---|---|
double |
getAzimuth(NorthReference ref)
Get the vehicle's current azimuth
XXX - Maybe someday we can bump to Java 8 so we can use default method
impls here instead of copy-pasting degree conversion code ad nauseam...
|
GeoPointMetaData |
getCenter()
Get the center point of this vehicle
|
double |
getHeight()
Get the height of the vehicle
|
double |
getLength()
Get the length (nose to rear) of the vehicle
|
double |
getWidth()
Get the width (wingspan) of the vehicle
|
void |
setAzimuth(double deg,
NorthReference ref)
Set the azimuth/heading of this vehicle model
|
getAnchorItem
double getWidth()
double getLength()
double getHeight()
GeoPointMetaData getCenter()
double getAzimuth(NorthReference ref)
ref
- Desired north referencevoid setAzimuth(double deg, NorthReference ref)
deg
- Degreesref
- Reference the degrees are in