GeoRegion3D

new SuperMap3D.GeoRegion3D(point3DsArray)

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

bottomAltitude : Number

bottom elevation
Default Value: 0.0

closeBottom : Boolean

stretched back cover
Default Value: true

closeTop : Boolean

Stretched cap
Default Value: true

extrudedHeight : Number

Stretch height
Default Value: 0.0

partCount : Number

Get the number of sub-objects of the 3D face geometry object.
Default Value: 0.0

Methods

addPart(point3Ds)Number

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.

getPart(index)Object

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.