Point3Ds

new Cesium.Point3Ds()

The 3D point collection object class. This class is used to manage all nodes on the line, area object or its sub-objects. Since the line, area object or its sub-objects are all directed, the point collection object is an ordered collection of points.

Methods

add(point3D)Number

Add a 3D point object to the 3D point collection object.
Name Type Description
point3D Object 3D point object.
Returns:
If it succeeds, it returns the index number of the added child object; if it fails, it returns -1.

removeAll()

Clear all elements in the 3D point collection object.