remove

open override fun remove(element: E, vararg position: Double): Boolean

Deletes an element from the SpatialIndex.

Return

true if the element is found and removed

Parameters

element

The element to remove

position

The coordinates where the element should be removed from


fun remove(e: E, x: Double, y: Double): Boolean

Same of .remove with explicit parameters.

Return

true if the element has been found and removed

Parameters

e

Element to remove

x

X position of the element

y

Y position of the element