Polygon Triangulation Outline Lecture Notes for
Author : danika-pritchard | Published Date : 2025-05-12
Description: Polygon Triangulation Outline Lecture Notes for Introduction to Computational Geometry Com S 418518 YanBin Jia Iowa State University Textbook Computational Geometry Algorithms and Applications 3rd ed by M de Berg et al
Presentation Embed Code
Download Presentation
Download
Presentation The PPT/PDF document
"Polygon Triangulation Outline Lecture Notes for" is the property of its rightful owner.
Permission is granted to download and print the materials on this website 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.
Transcript:Polygon Triangulation Outline Lecture Notes for:
Polygon Triangulation Outline Lecture Notes for Introduction to Computational Geometry (Com S 418/518) Yan-Bin Jia, Iowa State University Textbook: Computational Geometry: Algorithms and Applications (3rd ed.) by M. de Berg et al., Springer-Verlag, 2008. Brute-Force Triangulation 1. Find a diagonal. 2. Triangulate the two resulting subpolygons recursively. How to find a diagonal? leftmost vertex case 1 case 2 Triangulating a Convex Polygon Idea: Decompose a simple polygon into convex pieces. Triangulate the pieces. monotone as difficult as triangulation walk always downward or horizontal lowest vertex highest vertex Stragegy: Partition the polygon into monotone pieces and then triangulate. Turn Vertex Turn vertex is where the walk from highest vertex to the lowest vertex switches direction. Both adjacent edges are below. The polygon interior lies above. Choose a diagonal that goes up. Five Types of Vertices 4 types of turn vertices start vertices end vertices split vertices merge vertices Local Non-Monotonicity split vertex merge vertex II. Partitioning into Monotone Pieces Add a downward diagonal at every merge vertex. Add an upward diagonal at every split vertex. Use a downward plane sweep. No new event point will be created except the vertices. The event queue is implemented as priority queue (e.g., heap). Removal of a Split Vertex ● A regular, merge, start, or split vertex but not an end vertex. Helper Vertex Removal of a Merge Vertex Removal (Cont’d) Check if the old helper is a merge vertex and add the diagonal if so. Sweep-Line Status Implemented as a binary search tree. DCEL Representation The Algorithm Handling Start & End Vertices Handling Split Vertex Handling Merge Vertex (1) Handling Merge Vertex (2) Handling Regular Vertices (1) Handling Regular Vertices (2) Correctness Theorem The algorithm adds a set of non-intersecting diagonals that partitions the polygon into monotone pieces. Proof The pieces that result from the partitioning contain no split or merge vertices. Hence they are monotone by an earlier lemma. We need only prove that the added segments are diagonals that intersect neither the polygon edges nor each other. Establish the above claim for the handling of each of the five type of vertices during the sweep. (Read the textbook on how to do this for the case of a split vertex.) Running Time on Partitioning It is for clarity of presentation and can be easily removed. Idea: Add as many diagonals from the current vertex handled