| java.lang.Object | |
| ↳ | dji.common.flightcontroller.DJILocationCoordinate2D |
A class representing 2 dimensional location coordinate.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
DJILocationCoordinate2D(double latitude, double longitude)
Constructor.
| |||||||||||
|
DJILocationCoordinate2D()
Constructor.
| |||||||||||
|
DJILocationCoordinate2D(DJILocationCoordinate2D a)
Constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| double |
getLatitude()
Returns the latitude.
| ||||||||||
| double |
getLongitude()
Returns the longitude.
| ||||||||||
| void |
setLatitude(double latitude)
Sets the latitude.
| ||||||||||
| void |
setLongitude(double longitude)
Sets the longitude.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Constructor.
| latitude | The latitude to be set. |
|---|---|
| longitude | The longitude to be set. |
Constructor.
Constructor.
| a | A 2D DJI location coordinate. |
|---|
Returns the latitude.
Returns the longitude.
Sets the latitude.
| latitude | The latitude to be set. |
|---|
Sets the longitude.
| longitude | The longitude to be set. |
|---|