GeoRegion3D

new Cesium.GeoRegion3D(point3DsArray)

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

partCount : Number

Gets the number of children of the 3D polygon geometry object.
Default Value: 0.0

Methods

addPart(point3Ds)Number

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.

getPart(index)Object

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.