Voronoi Diagrams for Query Processing