The three-dimensional object class. A 3D surface geometry object is composed of one or more parts. Each part is called a sub-object of the 3D surface geometry object. Each sub-object is represented by an ordered set of three-dimensional coordinate points Point3Ds, and its starting point and ending point coincide.
Name | Type | Description |
---|---|---|
point3DsArray |
Array | Point3Ds array. |
Members
-
Get the number of sub-objects of the 3D surface geometry object.
-
Default Value:
0.0
Methods
-
Add a sub-object to the 3D area object.
Name Type Description point3Ds
Object The point string of the 3D plane object. Returns:
If it succeeds, it returns the index number of the added child object; if it fails, it returns -1. -
Get the 3D point object array of the sub-object with the specified index number in the 3D area object.
Name Type Description index
Number The index number of the sub-object in the 3D area object (greater than or equal to zero). Returns:
If it succeeds, it returns the Point3Ds object; if it fails, it returns a null value.