Searching Edges in the Overlap of Two Plane Graphs

  • John Iacono
  • Elena KhramtcovaEmail author
  • Stefan Langerman
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 10389)


Consider a pair of plane straight-line graphs whose edges are colored red and blue, respectively, and let n be the total complexity of both graphs. We present a \(O(n\log {n})\)-time O(n)-space technique to preprocess such a pair of graphs, that enables efficient searches among the red-blue intersections along edges of one of the graphs. Our technique has a number of applications to geometric problems. This includes: (1) a solution to the batched red-blue search problem [Dehne et al. 2006] in \(O(n\log {n})\) queries to the oracle; (2) an algorithm to compute the maximum vertical distance between a pair of 3D polyhedral terrains, one of which is convex, in \(O(n\log {n})\) time, where n is the total complexity of both terrains; (3) an algorithm to construct the Hausdorff Voronoi diagram of a family of point clusters in the plane in \(O((n+m)\log ^3{n})\) time and \(O(n+m)\) space, where n is the total number of points in all clusters and m is the number of crossings between all clusters; (4) an algorithm to construct the farthest-color Voronoi diagram of the corners of n disjoint axis-aligned rectangles in \(O(n\log ^2{n})\) time; (5) an algorithm to solve the stabbing circle problem for n parallel line segments in the plane in optimal \(O(n\log {n})\) time. All these results are new or improve on the best known algorithms.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Abellanas, M., Hurtado, F., Icking, C., Klein, R., Langetepe, E., Ma, L., Palop, B., Sacristán, V.: The farthest color Voronoi diagram and related problems. In: 17th Eur. Workshop on Comput. Geom., pp. 113–116. Tech. Rep. 002 2006, Univ. Bonn (2001)Google Scholar
  2. 2.
    Aronov, B., Bose, P., Demaine, E.D., Gudmundsson, J., Iacono, J., Langerman, S., Smid, M.: Data structures for halfplane proximity queries and incremental voronoi diagrams. In: Correa, J.R., Hevia, A., Kiwi, M. (eds.) LATIN 2006. LNCS, vol. 3887, pp. 80–92. Springer, Heidelberg (2006). doi: 10.1007/11682462_12 CrossRefGoogle Scholar
  3. 3.
    Chan, T.M.: A simple trapezoid sweep algorithm for reporting red/blue segment intersections. In: CCCG, pp. 263–268 (1994)Google Scholar
  4. 4.
    Chazelle, B., Edelsbrunner, H., Guibas, L.J., Sharir, M.: Algorithms for bichromatic line-segment problems and polyhedral terrains. Algorithmica 11(2), 116–132 (1994)MathSciNetCrossRefzbMATHGoogle Scholar
  5. 5.
    Cheilaris, P., Khramtcova, E., Langerman, S., Papadopoulou, E.: A randomized incremental algorithm for the Hausdorff Voronoi diagram of non-crossing clusters. Algorithmica 76(4), 935–960 (2016)MathSciNetCrossRefzbMATHGoogle Scholar
  6. 6.
    Cheong, O., Everett, H., Glisse, M., Gudmundsson, J., Hornus, S., Lazard, S., Lee, M., Na, H.S.: Farthest-polygon voronoi diagrams. Comput. Geom. 44(4), 234–247 (2011)MathSciNetCrossRefzbMATHGoogle Scholar
  7. 7.
    Claverol, M., Khramtcova, E., Papadopoulou, E., Saumell, M., Seara, C.: Stabbing circles for some sets of Delaunay segments. In: 32th Eur. Workshop on Comput. Geom. (EuroCG), pp. 139–143 (2016)Google Scholar
  8. 8.
    Claverol, M., Khramtcova, E., Papadopoulou, E., Saumell, M., Seara, C.: Stabbing circles for sets of segments in the plane. Algorithmica (2017). doi: 10.1007/s00453-017-0299-z zbMATHGoogle Scholar
  9. 9.
    Dehne, F., Maheshwari, A., Taylor, R.: A coarse grained parallel algorithm for Hausdorff Voronoi diagrams. In: Int. Conf. on Parallel Processing (ICPP), pp. 497–504. IEEE (2006)Google Scholar
  10. 10.
    Driscoll, J.R., Sarnak, N., Sleator, D.D., Tarjan, R.E.: Making data structures persistent. In: 18th annual ACM Symp. on Theory of Computing, pp. 109–121. ACM (1986)Google Scholar
  11. 11.
    Edelsbrunner, H., Guibas, L.J., Sharir, M.: The upper envelope of piecewise linear functions: algorithms and applications. Discr. & Comput. Geom. 4(4), 311–336 (1989)MathSciNetCrossRefzbMATHGoogle Scholar
  12. 12.
    Guibas, L.J., Sharir, M., Sifrony, S.: On the general motion-planning problem with two degrees of freedom. Discr. & Comput. Geom. 4(5), 491–521 (1989)MathSciNetCrossRefzbMATHGoogle Scholar
  13. 13.
    Iacono, J., Khramtcova, E., Langerman, S.: Searching edges in the overlap of two plane graphs (2017). ArXiv e-prints arXiv:1701.02229
  14. 14.
    Khramtcova, E., Papadopoulou, E.: Randomized incremental construction for the Hausdorff Voronoi diagram of point clusters (2016). ArXiv e-prints arXiv:1612.01335
  15. 15.
    Mairson, H.G., Stolfi, J.: Reporting and counting intersections between two sets of line segments. In: Theoretical Foundations of Computer Graphics and CAD, pp. 307–325 (1988)Google Scholar
  16. 16.
    Mantler, A., Snoeyink, J.: Intersecting red and blue line segments in optimal time and precision. In: Akiyama, J., Kano, M., Urabe, M. (eds.) JCDCG 2000. LNCS, vol. 2098, pp. 244–251. Springer, Heidelberg (2001). doi: 10.1007/3-540-47738-1_23 CrossRefGoogle Scholar
  17. 17.
    Mount, D.M.: Storing the subdivision of a polyhedral surface. Discr. & Comput. Geom. 2(2), 153–174 (1987)MathSciNetCrossRefzbMATHGoogle Scholar
  18. 18.
    Palazzi, L., Snoeyink, J.: Counting and reporting red/blue segment intersections. CVGIP. Graphical Models and Image Processing 56(4), 304–310 (1994)CrossRefGoogle Scholar
  19. 19.
    Papadopoulou, E.: The Hausdorff Voronoi diagram of point clusters in the plane. Algorithmica 40(2), 63–82 (2004)MathSciNetCrossRefzbMATHGoogle Scholar
  20. 20.
    Papadopoulou, E., Lee, D.T.: The Hausdorff Voronoi diagram of polygonal objects: A divide and conquer approach. Int. J. of Comput. Geom. & Appl. 14(06), 421–452 (2004)MathSciNetCrossRefzbMATHGoogle Scholar
  21. 21.
    Sharir, M.: The shortest watchtower and related problems for polyhedral terrains. Inf. Process. Lett. 29(5), 265–270 (1988)MathSciNetCrossRefzbMATHGoogle Scholar
  22. 22.
    Zhu, B.: Computing the shortest watchtower of a polyhedral terrain in \(O(n\log {n})\) time. Comput. Geom. 8(4), 181–193 (1997)MathSciNetCrossRefzbMATHGoogle Scholar

Copyright information

© Springer International Publishing AG 2017

Authors and Affiliations

  • John Iacono
    • 1
  • Elena Khramtcova
    • 2
    Email author
  • Stefan Langerman
    • 2
  1. 1.Department of Computer Science and EngineeringNew York UniversityNew YorkUSA
  2. 2.Computer Science DepartmentUniversité Libre de Bruxelles (ULB)BrusselsBelgium

Personalised recommendations