public class

DJILocationCoordinate3D

extends Object
java.lang.Object
   ↳ dji.common.flightcontroller.DJILocationCoordinate3D

Class Overview

This is a structure for presenting the location, latitude, longitude, altitude.

Summary

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

Public Constructors

public DJILocationCoordinate3D (DJILocationCoordinate2D pCoordinate2D, float pAltitude)

Constructor.

Parameters
pCoordinate2D An DJILocationCoordinate2D object.
pAltitude Altitude value.

public DJILocationCoordinate3D (double pLatitude, double pLongitude, float pAltitude)

Constructor.

Parameters
pLatitude Latitude value.
pLongitude Longitude value.
pAltitude Altitude value.

Public Methods

public float getAltitude ()

Returns the relative altitude of the aircraft relative to take off location, measured by barometer, in meters.

public DJILocationCoordinate2D getCoordinate2D ()

Returns DJILocationCoordinate2D object, which could be used as input parameter for flight controller's interfaces.

public double getLatitude ()

Returns the latitude.

public double getLongitude ()

Returns the longitude.