Professional Documents
Culture Documents
2
Partitioning Algorithm Analysis:
3
Polygon Partitioning:
4
Trapezoidalization:
5
Trapezoidalization:
6
Trapezoidalization:
7
Trapezoidalization:
8
Trapezoidalization:
9
Constructing a Trapezoidalization:
10
Trapezoids Monotone Polygons:
11
Plane Sweep:
12
Trapezoidalization:
13
Trapezoidalization:
14
Plane Sweep:
15
Plane Sweep:
16
Trapezoidalization:
If every interior supporting vertex v is connected to the opposing supporting vertex of the
trapezoid v supports, downward for a "downward" cusp and upward for an "upward" cusp, then
these diagonals partition P into pieces monotone with respect to the vertical.
17
Partition into Monotone Polygons:
18
Triangulation in O(nlogn):
19
Monotone Mountains:
20
Monotone Mountains:
21
Partition into Monotone Mountains:
22
Triangulating a Monotone Mountain:
23
Monotone Mountain Triangulation:
24
Partition into Monotone Mountains:
25
Comparison:
26
Some Approaches to Polygon Triangulation:
O(n2): ORourke Ch. 1: Ear removal
O(nlgn):
Using monotonicity: (see next slide for definition)
Partition polygon into monotone pieces, then quickly triangulate monotone pieces:
deBerg et al.:
O(nlgn): Create y-monotone pieces using diagonals (p.49-55) (CGAL)
O(n): To triangulate a single y-monotone piece (p.55-58)
ORourke Chapter 2, Approach 1:
O(nlgn): Create y-monotone pieces using plane sweep to trapezoidalize (p.
47-50)
O(n): To triangulate a single y-monotone piece (as in deBerg et al.)
ORourke Chapter 2, Approach 2:
O(nlgn): Create monotone mountains using plane sweep to trapezoidalize
Trapezoidalize (p. 47-50)
Add diagonals to convert trapezoidalization into set of monotone
mountains. Recall from Cormen et al.:
log* n = min{i 0 : lg (i ) n 1}
O(n): To triangulate a single monotone mountain (p. 52-53)
O(nlg*n) Expected time: Seidel Randomized Triangulation
Trapezoidalize, monotone mountain, triangulate pieces
Constrained Delaunay triangulation (CGAL) (Delaunay triangulation to be studied later)
O(n): Chazelle (see paper)
27
Towards Linear-Time Triangulation (ORourke):
28
Seidels Randomized Triangulation
(ORourke):
Trapezoidalize -> Monotone Mountain -> Triangulate
29