PM2 QuadTree Demo

PM2 Quadtree

Recursively decompose the underlying space into four equal area blocks as long as a block contains more than one line segment unless the line segments are all incident at the same vertex regardless of its location (i.e., it need not be in the same block). For more details, see pages 365-369 and 806-807 of Samet, Foundations of Multidimensional and Metric Data Structures or, see pages 257-261 of Samet, Design and Analysis of Spatial Data Structures.


Insert mode:

Delete mode:

Search mode: