removeAll

Removes all points from the collection.

pointPrimitives.add(...);
pointPrimitives.add(...);
pointPrimitives.removeAll();

See also