class ARCircleInfo
class ARCircleInfo implements Parcelable
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
AR circle information entity. Supports cylinder/truncated cone extrusion.
Supported since MSDK 5.20.1
Class Members:
method getId
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the unique identifier.
Supported since MSDK 5.20.1
Return:
| String | Unique identifier of the AR circle. |
method getSource
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the source package name.
Supported since MSDK 5.20.1
Return:
| String | The package name of the creator. |
method getName
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the name.
Supported since MSDK 5.20.1
Return:
| String | The name of the AR circle. |
method setName
void setName(String name)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the name.
Supported since MSDK 5.20.1
| String name | The name of the AR circle. |
method getCenter
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the center position of the bottom circle.
Supported since MSDK 5.20.1
Return:
method setCenter
void setCenter(OpenLocation center)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the center position of the bottom circle.
Supported since MSDK 5.20.1
| OpenLocation center | The center position of the bottom circle. |
method getRadius
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the bottom circle radius (meters).
Supported since MSDK 5.20.1
Return:
| float | The radius of the bottom circle in meters. |
method setRadius
void setRadius(float radius)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the bottom circle radius (meters).
Supported since MSDK 5.20.1
| float radius | The radius of the bottom circle in meters. |
method getTRadius
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the top circle radius (meters).
Supported since MSDK 5.20.1
Return:
| float | The radius of the top circle in meters. Defaults to the bottom radius (cylinder). Setting a different value creates a truncated cone. |
method setTRadius
void setTRadius(float tRadius)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the top circle radius (meters).
Supported since MSDK 5.20.1
| float tRadius | The radius of the top circle in meters. Setting to 0 or negative automatically uses the bottom radius. |
method getExtrusionAnchor
OpenLocation getExtrusionAnchor()
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the extrusion anchor point.
Supported since MSDK 5.20.1
Return:
| OpenLocation | The reference anchor point for cylinder extrusion. |
method setExtrusionAnchor
void setExtrusionAnchor(OpenLocation extrusionAnchor)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the extrusion anchor point.
Supported since MSDK 5.20.1
| OpenLocation extrusionAnchor | The reference anchor point for cylinder extrusion. |
method getTopFace
ARPolygonFace getTopFace()
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the top face configuration.
Supported since MSDK 5.20.1
Return:
method setTopFace
void setTopFace(ARPolygonFace topFace)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the top face configuration.
Supported since MSDK 5.20.1
method getSideFace
ARPolygonFace getSideFace()
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the side face configuration.
Supported since MSDK 5.20.1
Return:
method setSideFace
void setSideFace(ARPolygonFace sideFace)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the side face configuration.
Supported since MSDK 5.20.1
method getBottomFace
ARPolygonFace getBottomFace()
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the bottom face configuration.
Supported since MSDK 5.20.1
Return:
method setBottomFace
void setBottomFace(ARPolygonFace bottomFace)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the bottom face configuration.
Supported since MSDK 5.20.1
method getFaceDistAlpha
ARDistAlpha getFaceDistAlpha()
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the distance-based alpha configuration for faces.
Supported since MSDK 5.20.1
Return:
| ARDistAlpha | The distance-based alpha configuration for faces. |
method setFaceDistAlpha
void setFaceDistAlpha(ARDistAlpha faceDistAlpha)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the distance-based alpha configuration for faces.
Supported since MSDK 5.20.1
| ARDistAlpha faceDistAlpha | The distance-based alpha configuration for faces. |
method getTopFaceStroke
ARFaceStroke getTopFaceStroke()
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the top face stroke configuration.
Supported since MSDK 5.20.1
Return:
method setTopFaceStroke
void setTopFaceStroke(ARFaceStroke topFaceStroke)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the top face stroke configuration.
Supported since MSDK 5.20.1
| ARFaceStroke topFaceStroke | The top face stroke configuration. |
method getSideFaceStroke
ARFaceStroke getSideFaceStroke()
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the side face stroke configuration.
Supported since MSDK 5.20.1
Return:
method setSideFaceStroke
void setSideFaceStroke(ARFaceStroke sideFaceStroke)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the side face stroke configuration.
Supported since MSDK 5.20.1
| ARFaceStroke sideFaceStroke | The side face stroke configuration. |
method getBottomFaceStroke
ARFaceStroke getBottomFaceStroke()
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the bottom face stroke configuration.
Supported since MSDK 5.20.1
Return:
method setBottomFaceStroke
void setBottomFaceStroke(ARFaceStroke bottomFaceStroke)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the bottom face stroke configuration.
Supported since MSDK 5.20.1
| ARFaceStroke bottomFaceStroke | The bottom face stroke configuration. |
method getFaceStrokeDistAlpha
ARDistAlpha getFaceStrokeDistAlpha()
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Get the distance-based alpha configuration for face strokes.
Supported since MSDK 5.20.1
Return:
| ARDistAlpha | The distance-based alpha configuration for face strokes. |
method setFaceStrokeDistAlpha
void setFaceStrokeDistAlpha(ARDistAlpha faceStrokeDistAlpha)
|
| Package: | dji.open.pilot.base.manager.ar |
Description:
Set the distance-based alpha configuration for face strokes.
Supported since MSDK 5.20.1
| ARDistAlpha faceStrokeDistAlpha | The distance-based alpha configuration for face strokes. |