Expand description
A point region tree: the shared engine behind quad trees (D = 2) and oct trees (D = 3).
See the book entry Spatial trees.
Structsยง
- Region
Tree - A point tree over an axis-aligned region of
D-space. Each leaf holds up tocapacitypoints before splitting into2^Dequal sub-boxes (down tomax_depthlevels, so coincident points cannot cause unbounded splitting). Entries are(id, point)pairs; ids are chosen by the caller.