Abstract
Let P={P 1,...,P m} be a set of m convex polytopes in ℝd, for d = 2,3, with a total of n vertices. We present output-sensitive algorithms for reporting all k pairs of indices (i, j) such that P i intersects P j. For the planar case we describe a simple algorithm with running time O(n 4/3logn + k), and an improved randomized algorithm with expected running time O((n log m + k)α(n)logn) (which is faster for small values of k). For d = 3, we present an O(n 8/5+ε + k)-time algorithm, for any ε>0. Our algorithms can be modified to count the number of intersecting pairs in O(n 4/3 logO(1) n) time for the planar case, and in O(n 8/5+ε) time and ℝ3.
P.A. was also supported by Army Research Office MURI grant DAAH04-96-1-0013, by a Sloan fellowship, by NSF grants EIA-9870724, EIA-997287, and CCR-9732787, and by a grant from the U.S.-Israeli Binational Science Foundation. M.S. was supported by NSF Grant CCR-97-32101, by a grant from the Israel Science Fund (for a Center of Excellence in Geometric Computing), by the Hermann Minkowski-MINERVA Center for Geometry at Tel Aviv University, and by a grant from the U.S.-Israeli Binational Science Foundation.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
P. Agarwal, Partitioning arrangements of lines: II. Applications, Discrete Comput. Geom., 5 (1990), 533–573.
P. K. Agarwal and J. Matousek, On range searching with semialgebraic sets, Discrete Comput. Geom., 11 (1994), 393–418.
P. K. Agarwal and M. Sharir, Red-blue intersection detection algorithms, with applications to motion planning and collision detection, SIAM J. Comput., 19 (1990), 297–321.
P. K. Agarwal and M. Sharir, Ray shooting amidst convex polygons in 2D, J. Algorithms, 21 (1996), 508–519.
I. Balaban, An optimal algorithm for finding segment intersections, Proc. 11th Annu. ACM Sympos. Comput. Geom., 1995, pp. 211–219.
J. Basch, L. J. Guibas, and G. Ramkumar, Sweeping lines and line segments with a heap, Proc. 13th Annu. ACM Sympos. Comput. Geom., 1997, pp. 469–472.
J. L. Bentley and T. A. Ottmann, Algorithms for reporting and counting geometric intersections, IEEE Trans. Comput., C-28 (1979), 643–647.
G. Brodal and R. Jacob, Dynamic planar convex hull with optimal query time and o(logn\loglogn) update time, Proc. 7th Scand. Workshop Algorithm Theory, 2000, pp. 57–70.
B. Chazelle, Cutting hyperplanes for divide-and-conquer, Discrete Comput. Geom., 9 (1993), 145–158.
B. Chazelle and L. Guibas, Fractional cascading: I. A data structuring technique, Algorithmica, 1 (1986), 133–162.
B. Chazelle, L. Guibas, and D. T. Lee, The power of geometric duality, BIT, 25 (1985), 76–90.
B. Chzelle and H. Edelsbrunner, An optimal algorithm for intersecting line segments in the plane, J. ACM, 39 (1992), 1–54.
B. Chzelle, H. Edelsbrunner, L. Guibas, and M. Sharir, Algorithms for bichromatic line segment problems and polyhedral terrains, Algorithmica, 11 (1994), 116–132.
K. L. Clarkson and P. Shor, Applications of random sampling in computational geometry, II, Discrete Comput. Geom., 4 (1989), 387–421.
U. Finke and K. Hinrichs, Overlaying simply connected planar subdivisions in linear time, Proc. 11th Annu. ACM Sympos. Comput. Geom., 1995, pp. 119–126.
P. Gupta, R. Janardan, and M. Smid, Efficient algorithms for counting and reporting pairwise intersections between convex polygons, Inform. Process. Lett., 69 (1999), 7–13.
S. Har-Peled and M. Sharir, On-line point location in planar arrangements and its applications, Proc. 12th ACM-SIAM Sympos. Discrete Algorithms, 2001, pp. 57–66.
J. Matousek, Range searching with efficient hierarchical cuttings, Discrete Comput. Geom., 10 (1993), 157–182.
K. Mulmuley, A fast planar partition algorithm, I, J. Symbolic Comput., 10 (1990), 253–280.
N. Sarnak and R. E. Tarjan, Planar point location using persistent search trees, Commun. ACM, 29 (1986), 669–679.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2001 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Agarwal, P.K., de Berg, M., Har-Peled, S., Overmars, M.H., Sharir, M., Vahrenhold, J. (2001). Reporting Intersecting Pairs of Polytopes in Two and Three Dimensions. In: Dehne, F., Sack, JR., Tamassia, R. (eds) Algorithms and Data Structures. WADS 2001. Lecture Notes in Computer Science, vol 2125. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44634-6_12
Download citation
DOI: https://doi.org/10.1007/3-540-44634-6_12
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-42423-9
Online ISBN: 978-3-540-44634-7
eBook Packages: Springer Book Archive