insert

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

Inserts an element in the SpatialIndex.

Parameters

element

The element to add

position

The coordinates where the element should be added


fun insert(element: E, x: Double, y: Double)

Same of .insert, but with explicit parameters.

Parameters

element

element

x

X

y

Y