Abstract
A number of important problems in computational geometry are solved efficiently on 2- or 3-dimensional grids by means of scanline techniques. In the time complexity of solutions to the maximal elements and closure problems, a factor logn is substituted by loglogn, wheren is the number of elements. Next, by using a data structure introduced in the paper, the interval trie, previous solutions to the rectangle intersection and connected component problems are improved upon. Finally, a fast intersection finding algorithm for arbitrarily oriented line segments is presented.
Similar content being viewed by others
References
J. L. Bentley and T. Ottman,Algorithms for reporting and counting geometric intersections, IEEE Trans. Comp. C-28, 9 (1979), 643–647.
B. Chazelle,Intersecting is easier than sorting, Proc. 16th Annual ACM Symposium on Theory of Computing (1984), 125–234.
H. Edelsbrunner,A new approach to rectangle intersections, Part II, Int. J. Comput. Math. 13 (1983), 221–229.
H. Edelsbrunner, J. van Leeuwen, T. Ottmann and D. Wood,Computing the connected components of simple rectilinear geometrical objects in d-space, R.A.I.R.O. Theoretical Informatics 18, 2 (1984), 171–183.
R. A. Jarvis,On the identification of the convex hull of a finite set of points in the plane, Information Processing Lett. 2 (1973), 18–21.
D. B. Johnson,A priority queue in which initialization and queue operations take O(loglogD)time, Math. Systems Theory 15, 4 (1982), 295–310.
R. G. Karlsson,Algorithms in a restricted universe, Ph.D. thesis, University of Waterloo, 1984, Dept of Computer Science Tech. Report CS-84-50.
R. G. Karlsson and J. I. Munro,Proximity on a Grid, Proc. 2nd Symposium on Theoretical Aspects of Computer Science, Springer-Verlag Lecture Notes in Computer Science 182 (1985), 187–196.
R. G. Karlsson and M. H. Overmars,Normalized divide and conquer: A scaling technique for solving multi-dimensional problems, Information Processing Lett. 26 (1988), 307–312.
J. M. Keil and D. G. Kirkpatrick,Computational geometry on integer grids, Proc. 19th Annual Allerton Conference (1981), 41–50.
D. Kirkpatrick and S. Reisch,Upper bounds for sorting integers on random access machines, Theoretical Computer Science 28 (1984), 263–276.
H. T. Kung, F. Luccio and F. P. Preparata,On finding the maxima of a set of vectors, J. ACM 22, 4 (1975), 469–476.
E. M. McCreight,Efficient algorithms for enumerating intersecting intervals and rectangles, Xerox Alto Res. Center, Report PARC CSL-80-9, 1980.
F. W. Myers,An O(E logE +I)expected time algorithm for the planar segment intersection problem, SIAM J. Computing 14 (1985), 625–637.
H. Müller,Rastered point location, Proc. Workshop on Graphtheoretic Concepts in Computer Science (WG85), Trauner Verlag, 1985, 281–293.
M. H. Overmars,Efficient data structures for range searching on a grid, to appear in J. of Algorithms.
F. P. Preparata and M. I. Shamos,Computational Geometry, An Introduction, Springer-Verlag, 1985.
E. Soisalon-Soininen and D. Wood,An optimal algorithm for testing for safety and detecting deadlock in locked transaction systems, Proc. ACM Symposium on Principles of Data Bases (1982), 108–116.
P. van Emde Boas,Preserving order in a forest in less than logarithmic time and linear space, Information Processing Lett. 6, 3 (1977), 80–82.
D. E. Willard,Log-logarithmic worst-case range queries are possible in Space Θ(n), Information Processing Lett. 17, 2 (1983), 81–84.
D. E. Willard,New trie data structures which support very fast search operations, J. Comput. Syst. Sci. 28 (1984), 379–394.
M. Z. Yannakakis, C. H. Papadimitriou and H. T. Kung,Locking policies: safety and freedom for deadlock, Proc. 20th Annual IEEE Symposium on Foundations of Computer Science (1979), 286–297.
Author information
Authors and Affiliations
Rights and permissions
About this article
Cite this article
Karlsson, R.G., Overmars, M.H. Scanline algorithms on a grid. BIT 28, 227–241 (1988). https://doi.org/10.1007/BF01934088
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF01934088