RTree

constructor(initialData: List<T> = emptyList(), maxEntries: Int = 16)(source)

Parameters

T

The type of Feature to be stored in the tree. The feature's geometry is used to calculate its bounding box for indexing.

maxEntries

The maximum number of entries in a single tree node. A higher value leads to faster loading/insertion but slower searches, and vice versa. Must be 4 or greater. Defaults to 16.