public class

DJILocationCoordinate2D

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

Class Overview

A class representing 2 dimensional location coordinate.

Summary

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

Public Constructors

public DJILocationCoordinate2D (double latitude, double longitude)

Constructor.

Parameters
latitude The latitude to be set.
longitude The longitude to be set.

public DJILocationCoordinate2D ()

Constructor.

public DJILocationCoordinate2D (DJILocationCoordinate2D a)

Constructor.

Parameters
a A 2D DJI location coordinate.

Public Methods

public double getLatitude ()

Returns the latitude.

public double getLongitude ()

Returns the longitude.

public void setLatitude (double latitude)

Sets the latitude.

Parameters
latitude The latitude to be set.

public void setLongitude (double longitude)

Sets the longitude.

Parameters
longitude The longitude to be set.