remove

fun remove(pointPrimitive: PointPrimitive): Boolean(source)

Removes a point from the collection.

const p = pointPrimitives.add(...);
pointPrimitives.remove(p); // Returns true

Return

true if the point was removed; false if the point was not found in the collection.

Parameters

pointPrimitive

The point to remove.

See also