1 CMPS 31306130 Computational Geometry Spring 2020 Arrangements Carola Wenk Arrangement of Lines Let be a set of lines in Then is called the arrangement of It is defined as the planar subdivision induced by ID: 775948
Download Presentation The PPT/PDF document " 3/26/20 CMPS 3130/6130 Computational Ge..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
3/26/20
CMPS 3130/6130 Computational Geometry
1
CMPS 3130/6130 Computational GeometrySpring 2020
ArrangementsCarola Wenk
Slide2Arrangement of Lines
Let be a set of lines in . Then is called the arrangement of . It is defined as the planar subdivision induced by all lines in .
3/26/20
CMPS 3130/6130 Computational Geometry
2
is
simple
if no three lines meet in one point, and no two lines are parallel.
Lines. Not line segments.
Vertices, edges, faces.
Slide3Arrangement Complexity
The complexity of is its #vertices + #edges + #faces.
3/26/20
CMPS 3130/6130 Computational Geometry
3
Because it’s a planar subdivision.
#vertices
#edges
#faces
We have
lines, and in the worst case every pair
intersects (vertex).
On one line we can have at most
vertices,
so at most
edges total.
Consider an incremental construction, just for counting purposes right now.
Let . Line splits a face of in two. This creates i additional faces (since has at most i edges in see above). #faces in
Arrangement Construction
Input: A set of lines in Output: The arrangement stored in a DCEL
3/26/20
CMPS 3130/6130 Computational Geometry
4
1) Sweep-line construction:Takes time.2) Incremental construction:Insert one line after the other. Again let . Construct_arrangement(){ whole plane for i=1 to n{ insert into }
by threading through face by face and splitting edges and faces accordingly (using the DCEL!).
Runtime:
Using “zone theorem”
Slide5Zone Theorem
Zone Theorem:
Let be an arrangement of lines and let be another line. The zone of in is the planar subdivision consisting of all faces, edges, and vertices intersected by . The complexity of the zone of in is .
3/26/20
CMPS 3130/6130 Computational Geometry
5
How can the zone have complexity
if
has complexity
?
Zone Theorem Proof
Assume is horizontal. Also assume is simple and as no horizontal edges
3/26/20
CMPS 3130/6130 Computational Geometry
6
right-bounding edges
left-bounding edges
Goal:
Prove that # left-bounding edges in the zone is
, using induction.
Base:
Step:
Let
be a set of
lines and
its arrangement.
line that has the
rightmost
intersection with
vertex on
above
, closest to
vertex on
below
, closest to
Zone Theorem Proof
3/26/20
CMPS 3130/6130 Computational Geometry
7
Goal:
Prove that # left-bounding edges in the zone is , using induction.
Step: Let be a set of lines and its arrangement.
line that has the
rightmost
intersection with
vertex on
above
, closest to
vertex on
below
, closest to
Think about
# left-bounding edges in is by inductive hypothesis.
Now insert into :
is a new edge, and two edges were split into two.3 new edgesNo more new edges: Region is not in but is the only part of above that could contribute with left-bounding edges.In total, the zone has edges
For
in