Source: Geometric Approximation Algorithms
A quadtree is a decomposition of some bounded region of
Construction
Let
Path Compression
If two points are very close to each other, the naive construction can have arbitrarily long empty paths. This can be alleviated by “compressing” these empty levels into a single node. It is possible to compute this in