3D surface object class. The 3D surface geometric object is composed of one or more parts, and each part is called a sub-object of the 3D surface geometric object. Each sub-object is represented by an ordered set of 3D coordinate points Point3Ds, and its start point and end point coincide.
Name | Type | Description |
---|---|---|
point3DsArray |
Array | Point3Ds array |
Members
-
bottom elevation
-
Default Value:
0.0
-
stretched back cover
-
Default Value:
true
-
Stretched cap
-
Default Value:
true
-
Stretch height
-
Default Value:
0.0
-
Get the number of sub-objects of the 3D face geometry object.
-
Default Value:
0.0
Methods
-
Appends a sub-object to the 3D surface object.
Name Type Description point3Ds
Object A string of points for the 3D face sub-object. Returns:
Returns the index number of the added child object on success, or -1 on failure. -
Get the 3D point object array of the sub-object with the specified index number in the 3D surface object.
Name Type Description index
Number The index number (greater than or equal to zero) of the sub-object in the 3D area object. Returns:
Returns a Point3Ds object on success, or null on failure.