3D polygon object class. A 3D polygon geometry object consists of one or more parts, each of which is called a child object of a 3D polygon geometry object. Each child object is represented by an ordered set of 3D coordinate points Point3Ds whose start and end points coincide.
Name | Type | Description |
---|---|---|
point3DsArray |
Array | Point3Ds array. |
Members
-
Gets the number of children of the 3D polygon geometry object.
-
Default Value:
0.0
Methods
-
Append a child object to the 3D polygon object.
Name Type Description point3Ds
Object A point string of a three-dimensional face object. Returns:
Returns the index number of the added child object if successful, or -1 if it fails. -
Returns the index number of the added child object if successful, or -1 if it fails.
Name Type Description index
Number The index number of the child object in the 3D polygon object (greater than or equal to zero). Returns:
Returns the Point3Ds object if successful, or null if it fails.