java.lang.Object | |
↳ | dji.common.flightcontroller.DJILocationCoordinate3D |
This is a structure for presenting the location, latitude, longitude, altitude.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DJILocationCoordinate3D(DJILocationCoordinate2D pCoordinate2D, float pAltitude)
Constructor.
| |||||||||||
DJILocationCoordinate3D(double pLatitude, double pLongitude, float pAltitude)
Constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
float |
getAltitude()
Returns the relative altitude of the aircraft relative to take off location,
measured by barometer, in meters.
| ||||||||||
DJILocationCoordinate2D |
getCoordinate2D()
Returns
DJILocationCoordinate2D object, which could be used as input parameter for flight controller's
interfaces. | ||||||||||
double |
getLatitude()
Returns the latitude.
| ||||||||||
double |
getLongitude()
Returns the longitude.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Constructor.
pCoordinate2D | An DJILocationCoordinate2D object. |
---|---|
pAltitude | Altitude value. |
Constructor.
pLatitude | Latitude value. |
---|---|
pLongitude | Longitude value. |
pAltitude | Altitude value. |
Returns the relative altitude of the aircraft relative to take off location, measured by barometer, in meters.
Returns DJILocationCoordinate2D
object, which could be used as input parameter for flight controller's
interfaces.
Returns the latitude.
Returns the longitude.