Constrained Delaunay Triangulations (CDT)

Similar documents
Triangulations and Applications

Computational Geometry

Delaunay Triangulations. Presented by Glenn Eguchi Computational Geometry October 11, 2001

Delaunay Triangulations

CS 532: 3D Computer Vision 14 th Set of Notes

Chapter 8. Voronoi Diagrams. 8.1 Post Oce Problem

Preferred directions for resolving the non-uniqueness of Delaunay triangulations

Differential Geometry: Circle Patterns (Part 1) [Discrete Conformal Mappinngs via Circle Patterns. Kharevych, Springborn and Schröder]

Voronoi Diagrams and Delaunay Triangulations. O Rourke, Chapter 5

Voronoi Diagrams in the Plane. Chapter 5 of O Rourke text Chapter 7 and 9 of course text

The Farthest Point Delaunay Triangulation Minimizes Angles

Surface Mesh Generation

Art Gallery, Triangulation, and Voronoi Regions

Voronoi Diagrams. A Voronoi diagram records everything one would ever want to know about proximity to a set of points

Computational Geometry: Lecture 5

Voronoi Diagram. Xiao-Ming Fu

Computational Geometry Lecture Delaunay Triangulation

Practical Linear Algebra: A Geometry Toolbox

1/25 Warm Up Find the value of the indicated measure

PS Computational Geometry Homework Assignment Sheet I (Due 16-March-2018)

Advanced Algorithms Computational Geometry Prof. Karen Daniels. Fall, 2012

Lecture 16: Voronoi Diagrams and Fortune s Algorithm

Lesson 7.1. Angles of Polygons

Chapter 10 Polygons and Area

COMPUTING CONSTRAINED DELAUNAY

CAD & Computational Geometry Course plan

APPROXIMATING THE MAXMIN AND MINMAX AREA TRIANGULATIONS USING ANGULAR CONSTRAINTS. J. Mark Keil, Tzvetalin S. Vassilev

Voronoi diagrams Delaunay Triangulations. Pierre Alliez Inria

3. Voronoi Diagrams. 3.1 Definitions & Basic Properties. Examples :

Construction Of The Constrained Delaunay Triangulation Of A Polygonal Domain

Polygon decomposition. Motivation: Art gallery problem

Lesson Plan #39. 2) Students will be able to find the sum of the measures of the exterior angles of a triangle.

Week 8 Voronoi Diagrams

Generalized barycentric coordinates

Week 2 Polygon Triangulation

Pebble Sets in Convex Polygons

Ma/CS 6b Class 26: Art Galleries and Politicians

Lectures 19: The Gauss-Bonnet Theorem I. Table of contents

Package RTriangle. January 31, 2018

An angle that has a measure less than a right angle.

Polygon Triangulation

CS6100: Topics in Design and Analysis of Algorithms

Optimal Angular Resolution for Face-Symmetric Drawings

EXTREME POINTS AND AFFINE EQUIVALENCE

Elementary Planar Geometry

Computational Geometry

Lecture 3: Art Gallery Problems and Polygon Triangulation

Practical Linear Algebra: A Geometry Toolbox

QUADRATIC TIME COMPUTABLE INSTANCES OF MAXMIN AND MINMAX AREA TRIANGULATIONS OF CONVEX POLYGONS. Tigran Mirzoev, Tzvetalin S.

Generalized Delaunay Triangulation for Planar Graphs*

6-1 Properties and Attributes of Polygons

Simplicial Complexes: Second Lecture

CMSC 425: Lecture 9 Geometric Data Structures for Games: Geometric Graphs Thursday, Feb 21, 2013

Basic Euclidean Geometry

Constrained Boundary Recovery for Three Dimensional Delaunay Triangulations

Computational Geometry Lecture Duality of Points and Lines

Lecture 11 Combinatorial Planning: In the Plane

Geometry/Trigonometry Unit 5: Polygon Notes Period:

Warm-Up Exercises. 1. If the measures of two angles of a triangle are 19º and 80º, find the measure of the third angle. ANSWER 81º

AMS 345/CSE 355 Computational Geometry

Voronoi Diagrams and Delaunay Triangulation slides by Andy Mirzaian (a subset of the original slides are used here)

Computational Geometry

Scientific Computing WS 2018/2019. Lecture 12. Jürgen Fuhrmann Lecture 12 Slide 1

Polygon Partitioning. Lecture03

CS133 Computational Geometry

pine cone Ratio = 13:8 or 8:5

arxiv: v1 [cs.cg] 7 Oct 2017

Quadtrees and Meshing

6.854J / J Advanced Algorithms Fall 2008

Other Voronoi/Delaunay Structures

The National Strategies Secondary Mathematics exemplification: Y8, 9

MISCELLANEOUS SHAPES

Lecture Notes on Delaunay Mesh Generation

Geometry Chapter 8 Test Review

Lecture # 7 The Combinatorial Approach to Knot Theory Mike McCa rey. In this section we will define graphs in the combinatorial sense.

Inner Approximation of Polygons and Polyhedra by Unions of Boxes

Packing Two Disks into a Polygonal Environment

High-Dimensional Computational Geometry. Jingbo Shang University of Illinois at Urbana-Champaign Mar 5, 2018

Contours & Implicit Modelling 1

2D Geometry. Pierre Alliez Inria Sophia Antipolis

7. The Gauss-Bonnet theorem

Saccheri Quadrilaterals

Angles of Polygons. Essential Question What is the sum of the measures of the interior angles of a polygon?

Parameterization. Michael S. Floater. November 10, 2011

On Minimum Weight Pseudo-Triangulations

Projects & Polygon Triangulation

Outline of the presentation

Parameterization of triangular meshes

Clipping a Mesh Against a Plane

Lattice Polygon s and Pick s Theorem From Dana Paquin and Tom Davis 1 Warm-Up to Ponder

Convex Optimization MLSS 2015

CS 532: 3D Computer Vision 11 th Set of Notes

6th Bay Area Mathematical Olympiad

Volume Illumination and Segmentation

Geometry Unit 6 Properties of Quadrilaterals Classifying Polygons Review

Simultaneously flippable edges in triangulations

274 Curves on Surfaces, Lecture 5

Lecture Notes 2: The Simplex Algorithm

The Art Gallery Problem: An Overview and Extension to Chromatic Coloring and Mobile Guards

[Me] Meisters, G. H., Polygons have ears, American Mathematical Monthly, June/July 1975, pp

Transcription:

Constrained Delaunay Triangulations (CDT) Recall: Definition 1 (Constrained triangulation). A triangulation with prespecified edges or breaklines between nodes. Motivation: Geological faults in oil recovery Rivers, roads, lake boundaries in GIT Repr. non-convex boundaries and holes Linear features in CAD models Meshing for FEM (boundaries, interior & exterior) 1

2

Algorithm III from Preliminaries Given a predefined constraint E i,j. Suppose that the endpoints p i and p j are in. 1. For all T i in, If IntT i E ij, remove T i from We get one or more regions R i on each side of E i,j inside simple closed polygond. (More than one if E i,j intersects nodes.) 2. Triangulate each region R i with Algorithm I (Protruding point removal). (a) p i E i,j p j (b) p i E i,j p j May include holes and arbitrary exterior boundary 3

Delaunay Triangulation of a PSLG We will generalize the theory of Delaunay triangulation from P to G where G GP,E c is a PSLG (Planar Straight Line Graph). E c are constrained edges. The endpoints of E c are in P. Recall fom conventional Delaunay triangulations: MaxMin angle criterion Lexicographical ordering of indicator vectors Definition of local- and global optimum The circle criterion (will be redefined) The dual (Voronoi diagram) will not be considered here! (involved and not so useful) DEFINISJON (Visibility). p i and p j are visible to each other if p i p j does not intersect the interior of any edge in E c. 4

DEFINISJON (CDT). A CDT G of a PSLG GP,E c is a triangulation containing the edges E c such that Ct of any triangle t in G contains no point of P in its interior which is visible from all the three nodes of t. DEFINISJON: Modified circle criterion (relaxed) DEFINISJON: Edges in G that are not in E c are called Delaunay edges; triangles in G are called Delaunay triangles. (a) (b) (c) (d) a) GP,E c b) DTP c) CDTG 5

if E c G P and G P, P; a conventional Delaunay triangulation. 6

Generalization of the theory to CDTs (Brief, consult cited papers for details) (a) (b) p 2 θ 1 e e' p 1 θ 2 p 3 θ 2 e' p 4 In (b), e is constrained LEMMA. The modified circle criterion and the MaxMin angle criterion are equivalent for strictly convex quadrilaterals. Recall: indicator vector, lexicographical measure,... LEMMA(*). The indicator vector (of a contrained triangulation) becomes lexicographically larger each time an edge of a strictly convex quadrilateral is swapped according to the Delaunay swapping criteria. Basis for Lawson s LOP Algorithm 7

LOP applied to a G, whereg is a PSLG: 1. Start with an arbitrary G 2. Repeat swapping of edges according to modified circle criterion Does the LOP converge when applied to G? What does it converge to? Do we reach a global optimum? Lemma (*) and the fact that the number of possible triangulations of G is finite guarantees that the algorithm terminates after a finite number of edge swaps. DEFINITION. Locally optimal edge: 1. When the decision is not to swap it in the LOP. 2. Edges in E c and boundary edges are locally optimal by default. DEFINITION. Locally optimal triangulation; accordingly. 8

TEOREM. All interior edges of a triangulation G (G GP,E c ) are locally optimal (if and only if) the modified circle criterion holds for all triangles. Proof. See Exercise in lecture notes. So, LOP yields a CDT in accordance with DEFINITION (CDT). THEOREM. A triangulation G is a CDT in accordance withdefinition (CDT) (if and only if) its indicator vector is lexicographically maximum. Proof. See Exercise with guidelines in lecture notes. (Difficult since a dual construction (Voronoi) cannot be used.) 9

Uniqueness of a CDT can be deduced from the proof (under the usual assumption that no four points of P are cocircular). Unique characterization of Delaunay edge and Delaunay triangle in A CDT (Recall, edges in E c arenot Delaunay edges): THEOREM (Delaunay edge). Edge e ij between points p i and p j of P is Delaunay (if and only if) p i and p j are visible to each other and there exists a circle passing through p i and p j that does not contain any points of P in its interior visible from both p i and p j. Proof. See Exercise in lecture notes. 10

THEOREM (Delaunay triangle). Triangle t with nodes p i, p j and p k is Delaunay (if and only if) Ct contains no point of P in its interior which is visible from both p i, p j and p k. Proof. See Exercise in lecture notes. 11

Algorithms for Constrained Delaunay Triangulation Overview: Similar schemes as for conventional Delaunay, but 1. predefined constrained edges, and 2. modified circle criterion. Only incremental algorithms are considered here: basic operations: inserting a constrained edge into a CDT, and inserting a node into a CDT. 12

Given a PSLG GP,E c where endpoints of E c are in P. Algorithm (Compute G): 1. Compute P, (conventional Delaunay) 2. for each e in E c insert e into P,E c and update to a CDT. E c E c e 3. (add additional points into G) Recall from conventional Delaunay: two schemes for inserting a point p: remove triangles in (star shaped) influence region R p and retriangulate split t which contains the insertion point into three new triangles and apply recswap procedure three times. 13

Inserting an Edge into a CDT Insert constrained edge e c between p a and p b in P, E c P,E c e c. (a) p a e c pb e c L Q, (b) p a e c pb e c R Q, a) R e c b) Q e c,l and Q e c,r Influence region R e c of e c in G are triangles intersected by e c Note that no node is inserted or moved only R e c is affected! (Recall Theorem) Influence polygons, Q e c,l and Q e c,r on each side of e c. 14

Obtain P, E c e c by triangulating Q e c,l and Q e c,r on each side of the constrained edge e c separately using modified circle criterion: Step-by-step approach with base line and growing circles: Retriangulate one Q: 1. Let e c be the first baseline 2. Start with a growing circle with r and grow it into Q. 3. Make a triangle t with the first point p reached that is not separated from e c with a constraint. 4. Chose a new base line e c (an edge of t) and use the same circle. 5. GOTO 3 15

p' e b t p Y The growing The point p is uniquely defined as the point in P that, i) makes the largest angle at p spanned by the baseline e b, and ii) p is visible from the endpoints of e b. Note: No non-procedural approach as for point insertion. 16

e c L Q, (a) e c e c R Q, (b) (c) (d) Growing circles 17

Edge Insertion and Swapping Recall: T 2V I V B 2 I E 3V I 2V B 3 II E I 3V I V B 3 III T E V 1 IV, that is, a new constraint edge between two existing nodes does not change the cardinality of edges or triangles. This suggests that a new constrained edge can be swapped in place. 18

1. Swapping procedure for inserting a constraint e c into P,E c (operating inside R e c only). 2. LOP applied to edges inside each of Q e c,l and Q e c,r to obtain P,E c e c The swapping procedure: Principle: Swap edges away from the constrained edge e c such that eventually e c is included as an edge in the triangulation. Let p a, u 1,,u n,p b define the closed influence polygon Q ec,l to the left of the directed line from p a to p b. Note how the vertices of the polygon are enumerated when it is multiply connected; see figure. Consider a point u m each time where the angle m and swap away edges radiating from u m and intersecting e c. 1. is it always possible to find a point u m where m? 2. is there always a swappable edge at u m? 19

(a) e c L Q, u 2 u 4 u α 1 α 6 4 α 5 u 5 u 6 α 1 α 2 α 3 p a u 3 e c pb e c R Q, u 5 (b) α 1 u 1 u 3 u 4 α 3 α 4 α 5 p a u 2 α 2 e c pb (c) u 1 p a α 1 e c pb 20

LEMMA. A closed and simply connected polygon P has at least three interior angles smaller than. Proof. Let 1,, N, N 3, be the interior angles of P and suppose that k of them are smaller than. From elementary geometry we know that the sum of the interior angles is N 2 and thus, N N 2 i1 i i i i We have i N k, which inserted above gives, i k 2 i. i The right hand side is non-negative, so we have k 2. But since k 0 the right hand side is in fact positive and this gives k 3. i. Simply connected influence polygon: Lemma; at least one vertex different from p a and p b where m. multiply connected: see exercise. 21

w 0 = u m 1 α m u m w = r u + 1 m+1 e c w 1 w 2... w r Illustration for Lemma. Suppose that there are r edges radiating from u m and intersecting e c ; see figure. The endpoints of the r edges on the opposite side of e c from u m are denoted w 1,,w r, numbered counterclockwise. Conventions w 0 u m1 and w r1 u m1. LEMMA. There is at least one edge radiating from u m and intersecting e c, where m, that is a diagonal in a convex quadrilateral (and thus swappable). Proof. The closed polygon defined by the sequence w 0, w 1,,w r, w r1 (not including u m ) has at least three interior angles smaller than by Lemma. Thus, there is at least one point w s,1 s r such that the angle w s1 w s w s1 is smaller than. Then the quadrilateral with u m,w s as a diagonal must be convex since w s1,u m,w s1 is also smaller than. 22

Thus, all edges u m,w s,1s r, where m,can be swapped away from u m such that there are no edges left radiating from u m and intersecting e c. Result: u m is eliminated from the influence polygon. Algorithm (eliminate u m, with m ): 1. while r 1 2. Let u m, w s be a diagonal in a convex quadrilateral u m,w s1,w s,w s1. 3. Swap u m, w s to w s1,w s1 4. r r 1 Eventually, r 1 and and only one edge u m,w 1 radiates from u m and intersects e c. u m, w 1 is a diagonal in the quadrilateral u m, u m1,w 1, u m1 that is convex by Lemma. When u m,w 1 is swapped to u m1,u m1 in the r th cycle of the algorithm, u m is isolated from e c and eliminated from Q; seeu 1 in figure. 23

Repeat Algorithm on Q u m p a,u 1,u m1,u m1,u n,p b etc. and eventually on Q p a,u 1,p b. Algorithm (Insert constrained edge e c 1. while n 1 2. Find a point u m,1m n where m 3. Apply Algorithm to u m 4. n n 1 5. Q ec,l p a, u 1,,u m1,u m1,,u n,p b When n 1, Q p a,u 1,p b and the interior angle 1 at u 1 is smaller than by Lemma; see figure. When u 1,w 1 is swapped to p a,p b it takes the role as the constrained edge e c that has p a and p b as endpoints. 24

Finally, apply LOP to edges inside influence polygons Q e c,l and Q e c,r. LOP terminates as CDT with e c as a constraint! Existence follows from Lemma, extended to multiply connected polygons, and Lemma. 25

Inserting a Point into a CDT (a) (b) p e c e c Influence polygon Q p in a). Let P p,e c be the CDT obtained by inserting a point p into a CDT P,E c. Exact limitation of R p : LEMMA. A triangle t in P,E c will be modified when inserting a point p to obtain P p,e c if and only if the circumcircle of t contains p in its interior and p is visible from all the three nodes of t. Proof. The proof follows directly from Theorem (Delaunay triangle). 26

How can P p,e c be obtained? Alt. 1: THEOREM. All new triangles of P p,e c have p as a common node. Proof. See Exercise in lecture notes. P p,e c can be obtained from P,E c by removing all triangles of R p and connecting p to all points of Q p ;see Figure (b). Alt 2, swapping procedure: As for conventional Delaunay with this modification only: recswapdelaunay must not swap constrained edges. 27