insert

fun insert(data: List<T>)(source)

Bulk-loads data into the R-tree.

Return

The current RTree instance for chaining.

Parameters

data

A list of features to load into the tree.


fun insert(item: T)(source)

Inserts a single item into the tree.

Parameters

item

The feature to insert. Its bounding box will be calculated if not already present.