Simplified linear-time jordan sorting and polygon clipping

https://doi.org/10.1016/0020-0190(90)90111-AGet rights and content

Abstract

Given the intersection points of a Jordan curve with the x-axis in the order in which they occur along the curve, the Jordan sorting problem is to sort them into the order in which they occur along the x-axis. This problem arises in clipping a simple polygon against a rectangle (a “window”) and in efficient algorithms for triangulating a simple polygon. Hoffman, Mehlhorn, Rosenstiehl, and Tarjan proposed an algorithm that solves the Jordan sorting problem in time that is linear in the number of intersection points, but their algorithm requires the use of a sophisticated data structure, the level-linked search tree. We propose a variant of the algorithm of Hoffman et al. that retains the linear-time bound but simplifies both the primary data structure and the operations it must perform.

References (13)

  • F. Aurenhammer

    Jordan sorting via convex hulls of certain non-simple polygons

    Proc. 3rd Annual Symposium on Computer Geometry

    (1987)
  • F. Aurenhammer

    On-line sorting of twisted sequences in linear time

    BIT

    (1988)
  • B. Chazelle et al.

    An optimal algorithm for intersecting line segments in the plane

    Proc. 29th Annual Symposium on Foundations of Computer Science

    (1988)
  • K.L. Clarkson, R.E. Tarjan and C.J. Van Wyk, A fast Las Vegas algorithm for triangulating a simple polygon, Discrete...
  • A.V. Goldberg and R.E. Tarjan, Finding minimum-cost circulations by successive approximation, Math. Oper. Res., to...
  • K. Hoffman et al.

    Sorting Jordan sequences using level-linked search trees

    Inform. and Control

    (1986)
There are more references available in the full text version of this article.

Cited by (19)

  • Computing optimal shortcuts for networks

    2019, European Journal of Operational Research
  • Three problems about simple polygons

    2006, Computational Geometry: Theory and Applications
  • Translating a convex polyhedron over monotone polyhedra

    2002, Computational Geometry: Theory and Applications
  • Quadtree, ray shooting and approximate minimum weight Steiner triangulation

    2002, Computational Geometry: Theory and Applications
View all citing articles on Scopus

Research partially supported by NSERC Canada.

∗∗

Research partially supported by the National Science Foundation, Grant DCR-8605962, and the Office of Naval Research, Contract N00014-87-K-0467.

View full text