DJI Mobile SDK Documentation

      class LocationCoordinate3D

      @EXClassNullAway
      class LocationCoordinate3D
      Package:dji.common.flightcontroller
      Description:

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

      Class Members:
      Get Latitude
      method
      method LocationCoordinate3D
      LocationCoordinate3D(double latitude, double longitude, float altitude)
      Package:dji.common.flightcontroller
      Description:

      Constructs the 3D coordinate with latitude, longitude and altitude.

      Input Parameters:
      double latitudeLatitude in degrees
      double longitudeLongitude in degrees
      float altitudeAltitude in meters
      method getLatitude
      double getLatitude()
      Package:dji.common.flightcontroller
      Description:

      Returns the latitude.

      Return:
      doubleA double value of the latitude.
      Get Longitude
      method
      method getLongitude
      double getLongitude()
      Package:dji.common.flightcontroller
      Description:

      Returns the longitude.

      Return:
      doubleA double value of the longitude.
      Get Altitude
      method
      method getAltitude
      float getAltitude()
      Package:dji.common.flightcontroller
      Description:

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

      Return:
      floatA float value of the relative altitude of the aircraft relative to take off location.