RTree

A RTree implementation. @tparam DATA_T The data type that will be insert. It have to be castable to TYPE. @tparam TYPE Is the geometry structure that will be used. It have to match the isGeometry in parent package. @tparam MAX Maximal node size before spilt. MAX have to be at least 3 and odd. @tparam MIN Minimal node isze before merge. MIN have to be greater then 0 and lower or equal to 2 * MAX + 1.

final
class RTree (
DATA_T
TYPE
size_t MAX
size_t MIN
FEATURES features = FEATURES.NON
) {}

Constructors

this
this()

Generates an RTree structure.

Members

Classes

QueryIterator
class QueryIterator

Query iterator to parse queries.

Functions

insert
bool insert(DATA_T data)

Insert data to the tree. @param data Source data to insert. @return was insert successfully.

query
QueryIterator query(TYPE range)

Meta