3. Delaunay triangulation

Slides:



Advertisements
Similar presentations
Order-k Voronoi Diagram in the Plane
Advertisements

Great Theoretical Ideas in Computer Science for Some.
Midwestern State University Department of Computer Science Dr. Ranette Halverson CMPS 2433 – CHAPTER 4 GRAPHS 1.
Convex drawing chapter 5 Ingeborg Groeneweg. Summery What is convex drawing What is convex drawing Some definitions Some definitions Testing convexity.
 Distance Problems: › Post Office Problem › Nearest Neighbors and Closest Pair › Largest Empty and Smallest Enclosing Circle  Sub graphs of Delaunay.
Applications of Euler’s Formula for Graphs Hannah Stevens.
Proximity graphs: reconstruction of curves and surfaces
Computational Geometry II Brian Chen Rice University Computer Science.
One of the most important problems is Computational Geometry is to find an efficient way to decide, given a subdivision of E n and a point P, in which.
The Divide-and-Conquer Strategy
By Groysman Maxim. Let S be a set of sites in the plane. Each point in the plane is influenced by each point of S. We would like to decompose the plane.
Parallel Lines and Planes Section Definitions.
Convex Hulls in 3-space Jason C. Yang.
Feb Polygon Triangulation Shmuel Wimer Bar Ilan Univ., School of Engineering.
Problems in Ramsey theory typically ask a question of the form: "how many elements of some structure must there be to guarantee that a particular property.
1st Meeting Industrial Geometry Computational Geometry ---- Some Basic Structures 1st IG-Meeting.
Applied Combinatorics, 4th Ed. Alan Tucker
Computational Geometry -- Voronoi Diagram
2. Voronoi Diagram 2.1 Definiton Given a finite set S of points in the plane , each point X of  defines a subset S X of S consisting of the points of.
Lecture 3: Polygon Triangulation Computational Geometry Prof. Dr. Th. Ottmann 1 Polygon Triangulation Motivation: Guarding art galleries Art gallery theorem.
By Eyal Dushkin [Ed] Chapter 1. I. Introduction Reminder – Voronoi Diagrams  Let S be a set of sites in the plane.  Each point in the plane.
Graph Drawing Introduction 2005/2006. Graph Drawing: Introduction2 Contents Applications of graph drawing Planar graphs: some theory Different types of.
Exercise 1- 1’ Prove that if a point B belongs to the affine / convex hull Aff/Conv (A 1, A 2, …, A k ) of points A 1, A 2,…, A k, then: Aff/Conv (A 1,
Applied Combinatorics, 4th Ed. Alan Tucker
1.4 Exercises (cont.) Definiton: A set S of points is said to be affinely (convex) independent if no point of S is an affine combination of the others.
Computational Geometry Seminar Lecture 1
Lecture 10 : Delaunay Triangulation Computational Geometry Prof. Dr. Th. Ottmann 1 Overview Motivation. Triangulation of Planar Point Sets. Definition.
Tucker, Applied Combinatorics, Section 1.4, prepared by Patti Bodkin
Lecture 3: Polygon Triangulation Computational Geometry Prof. Dr. Th. Ottmann Polygon Triangulation Motivation: Guarding art galleries Art gallery theorem.
Center for Graphics and Geometric Computing, Technion 1 Computational Geometry Chapter 9 Delaunay Triangulation.
Definition Dual Graph G* of a Plane Graph:
Chapter 4: Straight Line Drawing Ronald Kieft. Contents Introduction Algorithm 1: Shift Method Algorithm 2: Realizer Method Other parts of chapter 4 Questions?
Exersise 01 If A 1 is the foot of the bisector at A of the triangle ABC, and b, c the lengths of the sides CA, AB respectively, then A 1 = (Bb + Cc)/(b.
Drawing of G. Planar Embedding of G Proposition Proof. 1. Consider a drawing of K 5 or K 3,3 in the plane. Let C be a spanning cycle. 2. If the.
Curve Curve: The image of a continous map from [0,1] to R 2. Polygonal curve: A curve composed of finitely many line segments. Polygonal u,v-curve: A polygonal.
The Art Gallery Problem
The Art Gallery Problem
UNC Chapel Hill M. C. Lin Point Location Chapter 6 of the Textbook –Review –Algorithm Analysis –Dealing with Degeneracies.
Delaunay Triangulations Presented by Glenn Eguchi Computational Geometry October 11, 2001.
Graph Theory Ch6 Planar Graphs. Basic Definitions  curve, polygon curve, drawing  crossing, planar, planar embedding, and plane graph  open set  region,
9/7/06CS 6463: AT Computational Geometry1 CS 6463: AT Computational Geometry Fall 2006 Triangulations and Guarding Art Galleries Carola Wenk.
Graph Theory Chapter 6 Planar Graphs Ch. 6. Planar Graphs.
5 -1 Chapter 5 The Divide-and-Conquer Strategy A simple example finding the maximum of a set S of n numbers.
12. Polyhedra
CENG 789 – Digital Geometry Processing 02- Polygons and Triangulations Asst. Prof. Yusuf Sahillioğlu Computer Eng. Dept,, Turkey.
Nonoverlap of the Star Unfolding Boris Aronov and Joseph O’Rourke, 1991 A Summary by Brendan Lucier, 2004.
Art gallery theorems for guarded guards T.S. Michael, Val Pinciub Computational Geometry 26 (2003) 247–258.
Order-k Voronoi diagram in the plane Dominique Schmitt Université de Haute-Alsace.
Lines in the plane, slopes, and Euler’s formula by Tal Harel
Euler’s characteristic and the sphere
Planar Graphs Graph Coloring
Unit – V Graph theory. Representation of Graphs Graph G (V, E,  ) V Set of vertices ESet of edges  Function that assigns vertices {v, w} to each edge.
1/29/15CMPS 3130/6130 Computational Geometry1 CMPS 3130/6130 Computational Geometry Spring 2015 Triangulations and Guarding Art Galleries Carola Wenk.
UNC Chapel Hill M. C. Lin Delaunay Triangulations Reading: Chapter 9 of the Textbook Driving Applications –Height Interpolation –Constrained Triangulation.
Great Theoretical Ideas in Computer Science for Some.
COMPSCI 102 Introduction to Discrete Mathematics.
ANGLES KHM. These figures are not polygonsThese figures are polygons Definition:A closed figure formed by a finite number of coplanar segments so that.
CMPS 3130/6130 Computational Geometry Spring 2017
CMPS 3130/6130 Computational Geometry Spring 2017
Outline 1 Properties of Planar Graphs 5/4/2018.
37TH ANNUAL AMATYC CONFERENCE A Modern Existence Proof Through Graphs
Applied Combinatorics, 4th Ed. Alan Tucker
Tucker, Applied Combinatorics, Sec 2.4
The Art Gallery Problem
The Art Gallery Problem
Applied Combinatorics, 4th Ed. Alan Tucker
Computational Geometry
Gaph Theory Planar Graphs
Discrete Mathematics for Computer Science
Planarity.
Presentation transcript:

3. Delaunay triangulation 3.1 Euler’s formula If a planar connected graph has e edges, f facets and v vertices, than Euler’s formula states: f - e + v = 1. Similarly, for the numbers of edges, facets and vertices of a simply connected * (“sphere like”) 3-dim. polyhedron holds: f - e + v = 2 (eq. 1) *Every simple closed polygon p, consisting of its edges, disconnects its surface: there are 2 facets of P such that every chain of adjacent facets, connecting these two, crosses polygon p. p f2 Sphere like p f2 f1 f1

Delaunay triangulation (Euler’s formula cont.) p “Donut like” By a theorem of Steiner, every graph having the properties - every facet is a polygon, - every edge is incident to exactly two facets, every vertex figure is a polygon, eq. 1 is satisfied, can be realized as a convex polyhedron. This is therefore also true for its dual graph. This duality can be realized as polarity.

Delaunay triangulation (Euler’s formula cont.) Euler’s formula gives rise to many relations between the numbers e, f and v. By the theorem of Steiner and the duality principle, every such relation holds also for the numbers e, v and f . Every facet of a polyhedron P has at least 3 edges. Summing along facets, total number of edges is  3f . In this sum every edge is counted twice (for two facets incident to it). Hence: 2 e  3 f (1), and dually 2 e  3 v (2). The inequality (1) and Euler’s formula imply: f  2 v - 4 (3), and dually v  2 f - 4 (4). The inequality (3) and Euler’s formula imply: e  3 v - 6 (5), and dually e  3 f - 6 (6)...

Delaunay triangulation (Polygon) 3.2 Polygon: interior & exterior points, diagonals. Every point X, not on the boundary of a simple polygon P, has the property*: Half lines through X not through a vertex of P intersect the edges of P in an odd number of points, when X is said to be an (interior) point of P, or in an even number of points, when X is said to be an exterior point of P. • Every polygon P has inner diagonal (having only inner points). • An inner diagonal A i A k of P = A1A2…An divides the interior of P into the interiors of the polygons P1 = A i A k A k+1 … and P2 = A i A k A k-1 … *This property, as well as many polygonal properties are not easy to prove!

Delaunay triangulation (Triangulation) A k+1 A k-1 3.3 Triangulation I A k E A i A consequence of the last two properties is that every simple planar polygon admits a triangulation by its inner diagonals. If the number of triangles is t, summing the edges by triangles we get 3t=2d + n. By Euler’s formula is n - (n + d) + t = 1, hence t = n - 2 and d = n - 3.

Delaunay triangulation (Triangulation) Hence, at least two triangles of the triangulation have two sides of P as edges (each divide P into triangle and (n - 1) – gon), otherwise the number of sides would have been  n-1. This property is frequently used in inductive proofs: Problem. Prove that the vertices of a triangulation of a polygon P can be colored in 3 colors so that the vertices of every triangle have different colors. More generally: A triangulation of a planar graph is its maximal, planar edge-refinement. (Faces are triangles (1), no edge is free (2), the boundary is a polygon (3), all vertices are used (4)) triangulation

Delaunay triangulation (Triangulation) If such a triangulation has n vertices on the boundary and k vertices in the interior, f triangles and e edges, a simple counting + Euler’s formula shows: f = 2 n - 2 - k and e = 3 n - 3 - k. In some applications, e.g. in computer graphics, is important that the triangles of a triangulation are not slim. Otherwise a human eye will see them as dashes. To get the best result we find the triangulation for which the angles of triangles are the greatest possible. This requirement leads to the following comparison: 

Delaunay triangulation (Definition) Let 1 , 2 , …,  3f be the ordered sequence of angles of all the triangles of the triangulation 1 , i.e. let 1  2  …   3f Let 1 , 2 , …,  3f is another such sequence corresponding to some triangulation 2. We define ordering: 1  2 iff the corresponding sequences of numbers  i and  i are equal, or  k <  k at the first index k where they disagree. A Delaunay triangulation of a planar set of points S is its triangulation which maximizes the previous order relation.

Delaunay triangulation (Delaunay Graph) 3.4 Delaunay Graph and Voronoi Diagram Voronoi Diagram of a finite planar point set S defines the following unique dual graph, named Delaunay Graph: Two points of S are joined by an edge if they define neighboring facets of the Voronoi Diagram of S. A B o D C Voronoi Diagram Delaunay Graph

Delaunay triangulation (Delaunay Graph) Let ABCD be a cell of the Delaunay Graph. Border between neighboring Voronoi Cells CA ,CB, A,B S (of the Voronoi Diagram) consists of points equally distant to A and B, and to which the other points of S are farther. It is therefore on the bisector of [AB]. Hence, the vertex o of the Voronoi Diagram common to neighb. cells of A, B, C and D is equally distant to A, B, C, D and other points of S are farther: circumscribed circle of ABCD (a facet of the Delaunay Graph) contains no other point of S. Opposite ? (Exercise) This leads to: A B o D C A subset of S defines a facet of the Delaunay Graph iff the points of S are on a circle which contains (on and in it) no other point of S.

Delaunay triangulation (Delaunay Graph) 3.5 Delaunay Triangulation and Delaunay Graph We first give an algorithm which leads to a locally maximal triangulation (a). Then we prove that this triangulation is a triangulation of the Delaunay Graph of S (b). Let ABC, BCD be a pair of adjacent triangles of a triang. T. If D is interior to the circumscribed circle of ABC, then the substitution (flip) ABC,ACD  ABD,BDC leads to the triangulation T’ with T  T’ ()* ACB = AXB < ADB, Y C CAB = CXB < CDB, X D CAD < CAX = CBD, ACD < ACX = ABD,  B *Among angles along diagonal is the smallest angle of a triangulation. Since for each such angle of T, their is a smaller one in T’, the inequality () holds. A

Delaunay triangulation (Delaunay Graph) (b) Iterating (a) we end up with a triangulation T* where all circumscribed circles are with “empty” interior. Such a triangulation T* is (see 3.4) a triangulation of the Delaunay Graph of S. Hence: Delaunay Triangulation is a refinement of the Delaunay Graph If all facets of the Delaunay Graph are triangles, i.e. if the initial set S is in general position (as we are going to assume further), the algorithm is finished. If a facet of a Delaunay Graph is a quadrangle, we easily optimize its triangulation : d 1  How to triangulate a 5-gon? - Is their an algorithm for a general problem? d1  d < d1  < 1

Delaunay triangulation (Algorithm6) Back to the algorithm (case: all facets of the Delaunay Graph are triangles. By 2.3 Exercise 14a and 3.4, the facets of the Delaunay Graph (circles …) are projected by  onto some facets of the Conv (S). By 2.3 Exercise 14b and 3.4, these facets are the lower (wrt z - axis) facets of Conv (S). We are ready for the Algorithm6. Algorithm6. (Implementation = Exercise 18 ). Step1=Step1 of the algorithm4. Step 2. We calculate the lower “cap” of Conv (S). Step 3. The Delaunay Graph of S is the vertical projection of the lower cap of Conv (S) onto .

Delaunay triangulation (Algorithm7) The idea described in 3.5a (local improvements alg.) leads to: Algorithm 7. (Implementation = Exercise 19 ). Step 1. The initial set S is surrounded with a sufficiently large triangle which is the first triangle of the triangulation. Step i+1.1 New point X of S is located ( § 4) in a triangle Ti of the triangulation obtained in Step i. It separates Ti in 3 triangles. The pairs of triangles to start local improvement (diagonal flip in the corresponding 4-angle) are these 3 triangles with their neighbors! Is that all? ? Ti X Tk ? X Tk ? OK