I'm searching for a algorithm to find neighbors of a quadtree, in the example image, I got the red node, how to find the blue nodes. Any ideas?
There are some known algorithms. Check them out.
- Kunio Aizawa et al. - Constant Time Neighbor Finding in Quadtrees: An Experimental Result
- Kasturi Varadarajan - All Nearest Neighbours via Quadtrees
- Robert Yoder, Peter Bloniarz - A Practical Algorithm for Computing Neighbors in Quadtrees, Octrees, and Hyperoctrees
来源:https://stackoverflow.com/questions/32412107/quadtree-find-neighbor