A Simple Algorithm for Computing the Zone of a Line in an Arrangement of Lines

Abstract

Let L be a set of n lines in the plane. The zone Z() of a line in the arrangement A(L) of L is the set of faces of A(L) whose closure intersects . It is known that the combinatorial size of Z() is O(n). Given L and , computing Z() is a fundamental problem. Linear-time algorithms exist for computing Z() if A(L) has already been built, but building A(L) takes O(n2) time. On the other hand, O(n n)-time algorithms are also known for computing Z() without relying on A(L), but these algorithms are relatively complicated. In this paper, we present a simple algorithm that can compute Z() in O(n n) time. More specifically, once the sorted list of the intersections between and the lines of L is known, the algorithm runs in O(n) time. A big advantage of our algorithm, which mainly involves a Graham's scan style procedure, is its simplicity.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…