DJI Mobile SDK Documentation

      class OpenPoint

      class OpenPoint implements Parcelable 
      Package:dji.open.pilot.base.manager.intelligent
      Description:

      Normalized coordinate point (0.0 to 1.0).

      Supported since MSDK 5.20.1

      Class Members:
      method
      method getX
      double getX() 
      Package:dji.open.pilot.base.manager.intelligent
      Description:

      Gets the horizontal position.

      Supported since MSDK 5.20.1

      Return:
      doubleThe horizontal position (normalized). 0.0 is the left edge and 1.0 is the right edge.
      method
      method setX
      void setX(double x) 
      Package:dji.open.pilot.base.manager.intelligent
      Description:

      Sets the horizontal position.

      Supported since MSDK 5.20.1

      Input Parameters:
      double xThe horizontal position (normalized). 0.0 is the left edge and 1.0 is the right edge.
      method
      method getY
      double getY() 
      Package:dji.open.pilot.base.manager.intelligent
      Description:

      Gets the vertical position.

      Supported since MSDK 5.20.1

      Return:
      doubleThe vertical position (normalized). 0.0 is the top edge and 1.0 is the bottom edge.
      method
      method setY
      void setY(double y) 
      Package:dji.open.pilot.base.manager.intelligent
      Description:

      Sets the vertical position.

      Supported since MSDK 5.20.1

      Input Parameters:
      double yThe vertical position (normalized). 0.0 is the top edge and 1.0 is the bottom edge.