3D cuboid geometry object class. This class is used to draw a cuboid geometric object on a 3D layer.
Name | Type | Description |
---|---|---|
length |
Number | The length of the cuboid, unit: meter. |
width |
Number | The width of the cuboid, unit: meter. |
height |
Number | The height of the cuboid, unit: meter. |
Members
-
Get or set the height of the cuboid, unit: meter.
-
Default Value:
0.0
-
Get or set the length of the cuboid, unit: meter.
-
Default Value:
0.0
-
Get or set the width of the cuboid, unit: meter.
-
Default Value:
0.0
Methods
-
Get the center point of the cuboid geometry object.
Returns:
The geographic coordinate value of the center point of the cuboid geometric object. -
Get whether the cuboid geometry object is valid.
Returns:
Returns true if the box geometry object is valid, false otherwise.