insert

abstract 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