Bounding-Box Hierarchies and R-Trees
Introduces minimum bounding rectangles (MBRs) as cheap pre-filters for polygon queries, the four-inequality MBR intersection test, and how R-trees organize MBRs hierarchically to answer spatial queries efficiently. Applies to air routing where flights must be tested against thousands of airspace polygons.
Tutorial
Minimum Bounding Rectangles
Aircraft routing systems must repeatedly check whether a flight path interacts with thousands of polygonal regions: restricted airspaces, weather cells, controlled sectors. Testing each polygon directly is expensive, so we use a cheap pre-filter built on minimum bounding rectangles.
The minimum bounding rectangle (MBR) of a polygon with vertices is the smallest axis-aligned rectangle containing every vertex:
where , , , and .
For example, the triangle with vertices , , has
so its MBR is .
Because the MBR contains the polygon, any query region that fails to touch the MBR cannot touch the polygon. We have replaced an expensive polygon test with four scalar comparisons.