The 3D cuboid geometric object class. This class is used to draw cuboid geometric objects on the 3D layer.
Name | Type | Description |
---|---|---|
length |
Number | The length of the cuboid, in meters. |
width |
Number | The width of the cuboid, in meters. |
height |
Number | The height of the cuboid, in meters. |
Members
-
Gets or sets the height of the cuboid, in meters.
-
Default Value:
0.0
-
Gets or sets the length of the cuboid, in meters.
-
Default Value:
0.0
-
Gets or sets the width of the cuboid, in meters.
-
Default Value:
0.0
Methods
-
Get the center point of the cuboid geometric object.
Returns:
The geographic coordinate value of the center point of the cuboid geometric object. -
Get whether the cuboid geometric object is valid.
Returns:
It returns true if the cuboid geometric object is valid, otherwise it returns false.