We draw a horizontal line through every vertex of the diagram and sort the lines in O(n log n) time. The lines decompose the diagram into slabs. For every slab we sort the set of crossing edges of the Voronoi diagram in linear time. Altogether we need O(n^2) time for the simple construction. For a query point x we locate its slab in O(logn) time and afterwards its region in O(logn) time by binary search. |