Point3Ds

new Cesium.Point3Ds()

3D point collection object class. This class is used to manage all nodes on a line, polygon object, or its children. Since a line, a polygon object, or its children are all directed, their point collection object is a collection of ordered points.

Methods

add(point3D)Number

Append a 3D point object to the 3D point collection object.
Name Type Description
point3D Object 3D point object.
Returns:
Returns the index number of the added child object if successful, or -1 if it fails.

removeAll()

Clear all elements in a 3D point collection object.