#quad-tree #oct-tree #points #generalized #dimension

hyper-tree

Quadtrees and Octrees generalized to any dimension and type

2 releases

0.1.1 Nov 30, 2024
0.1.0 Nov 30, 2024

#4 in #generalized

Download history 170/week @ 2024-11-24 81/week @ 2024-12-01

251 downloads per month

MIT/Apache

11KB
305 lines

hyper-tree

A zero-cost generalization over quadtrees and octrees that store points.

  • No dependecies!
  • 100% safe code
  • Small footprint

This is not a kd-tree! While kd-trees are also used for binary space partitioning, their splits are not necessarily equal, as they are in quadtrees, octrees, and more general forms.

What can I do with this?

Right now, not much. This is still very much a work in progress.

Work in Progress!

The library needs to be tested and benched.

  • Write tests
  • Benchmark
  • Allow creating padded trees Right now, new points can't be added to a tree without having to completely rebuild it.

No runtime deps