6.838, Computational Geometry; Fall 2001

Point Location

Sergi Elizalde & David Pritchard


Incrementing D - General Case

General case: si intersects D0, D1,...,Dk

To update D:

- Remove the leaves for D0, D1,...,Dk

- Create leaves for the new trapezoids

- If D0 has the left endpoint p of si in its interior, replace the leaf for D0 with a point node for p and a segment node for si (similarly with Dk)

- Replace the leaves of the other trapezoids with single segment nodes for si

- Make the outgoing edges of the inner nodes point to the correct leaves