timohausmann / quadtree-ts

Quadtree Typescript Implementation
https://timohausmann.github.io/quadtree-ts/
MIT License
125 stars 15 forks source link

[Feature Request]: `minLevels` in QuadtreeProps #15

Open yar2001 opened 8 months ago

yar2001 commented 8 months ago

Thanks a lot for this library!

Is it possible to have minLevels in QuadtreeProps? That is, the quadtree is forced to split to meet the minLevels requirements. Therefore, when retrieving from the quadtree, it won't return something very far from the retrieved area. It will enhance the retrieval precision of the objects.

2024-03-05_12-07