Point3Ds

new SuperMap3D.Point3Ds()

3D point collection object class. This class is used to manage all nodes on a line, area object or its sub-objects. Since line, area objects or their sub-objects are all directed, their point collection objects are ordered collections 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:
Returns the index number of the added child object on success, or -1 on failure.

removeAll()

Clears all elements in the 3D point collection object.