CS133 Computational Geometry

Size: px
Start display at page:

Download "CS133 Computational Geometry"

Transcription

1 CS133 Computational Geometry Voronoi Diagram Delaunay Triangulation 5/17/2018 1

2 Nearest Neighbor Problem Given a set of points P and a query point q, find the closest point p P to q p, r P, dist p, q dist(r, q) Simple algorithm: Scan and find the minimum An efficient algorithm: Use a spatial index structure such as Kd tree What if we need to repeat this for every point in the space, i.e., an infinite number of points? 5/17/2018 2

3 Application: Cell Coverage Voronoi Diagram 5/17/2018 3

4 Other Applications Service coverage for hospitals, post offices, schools, etc. Marketing: Find candidate locations for a new restaurant Routing: How an electric vehicle should travel while staying close to charging stations 5/17/2018 4

5 Voronoi Region Given a set P of points (also called sites), a Voronoi region of a site p i P, V p i is the set of points in the Euclidean space where p i is (one of) the closest sites V p i = x: p i x p j x p j P 5/17/2018 5

6 Voronoi Diagram The Voronoi diagram is the set of points that belong to two or more Voronoi regions Voronoi diagram is a tessellation of the space into regions where each region contains all the points that are closest to one site 5/17/2018 6

7 VD of Two Points V p 2 V p 1 p 2 p 1 5/17/2018 7

8 VD of Three Points p 3 V p 3 V p 2 V p 1 p 2 p 1 5/17/2018 8

9 VD of Three Points p 3 V p 3 V p 2 V p 1 p 2 p 1 5/17/2018 9

10 Voronoi Region A Voronoi region of a set p i is the intersection of all half spaces defined by the perpendicular bisectors V p i = ځ j i H p i, p j 5/17/

11 VD of a Set of Points P VD P 5/17/

12 Mother Nature Loves VD 5/17/

13 Mother Nature Loves VD 5/17/

14 Mother Nature Loves VD 5/17/

15 Mother Nature Loves VD Onion cells under the microscope 5/17/

16 Mother Nature Loves VD A thin slice of carrot under the scope 5/17/

17 Mother Nature Loves VD A dead maple leaf at 160X 5/17/

18 Mother Nature Loves VD An oak leaf 5/17/

19 VD Properties Voronoi regions are convex Each Voronoi region contains a single site Voronoi regions (faces) can be unbounded Most intersection points connect three segments 5/17/

20 VD Properties V p i is unbounded iff p i CH P If a point x is at the intersection of three or more Voronoi regions, say V p 1, V p 2,, V p k, then x is the center of a circle C that have p 1,, p k at its boundary C contains no other sites VD is unique 5/17/

21 Delaunay Triangulation (DT) Delaunay triangulation is the straight-line dual of the Voronoi diagram Each site is a corner of at least one triangle Each two Voronoi regions that share an edge are connect with an edge in DT 5/17/

22 DT Properties The edges of D P do not intersect Is D P unique? Yes, if no four sites are co-circular If p i and p j are the closest pair of sites, they are connected with an edge in DT If p i and p j are nearest neighbors, they are connected with an edge in DT The circumcircle of p i, p j, and p k is empty p i, p j, p k is a triangle in DT 5/17/

23 DT is a Planar Graph Since the edges in DT do not intersect, they form a planar graph The number of edges/faces in a Delaunay Triangulation is linear in the number of vertices. The number of edges/vertices in a Voronoi Diagram is linear in the number of faces. The number of vertices/edges/faces in a Voronoi Diagram is linear in the number of sites. 5/17/

24 DT Properties The boundary of D P is the convex hull of P p i V p i V p j p j 5/17/

25 DT Properties If p j is the nearest neighbor of p i then p i p j is a Delaunay edge p j is the nearest neighbor of p i iff. the circle around p i with radius p i p j is empty of other points. The circle through p i + p j /2 with radius p i p j /2is empty of other points. p i + p j /2 is on the Voronoi diagram. p i + p j /2 is on a Voronoi edge. 5/17/

26 VD Plane Sweep Scan the plane from top to bottom Compute the VD of the points above the sweep line Is it that simple? 5/17/

27 VD of a Line and a Point 5/17/

28 VD of a Line and a n Points 5/17/

29 VD of a Line and a n Points 5/17/

30 Fortune s Algorithm As the line sweeps the plane, the algorithm maintains the VD of the set of points and the sweep line Since the sweep line is closer than any future point, it acts as a barrier that isolates the VD from all future points 5/17/

31 Fortune s Algorithm in Action 5/17/

32 VD Properties The VD part above the beach line (blue) is final. Why? This area is closer to some site than the beach line closer to some site than any future site We already know the nearest site to those areas 5/17/

33 VD Properties The beach line is x-monotone. Why? Each parabola is x-monotone At each x-coordinate, the beach line takes one value which is the minimum of all the parabolas Therefore, it is x-monotone 5/17/2018 Credits: 33

34 VD Properties The breakpoints of the beach line lie on Voronoi edges of the final diagram Each breakpoint is equidistant from two sites A breakpoint is as close to some site as to the sweep line The sweep line is (closer) to the blue sites than future sites 5/17/

35 Fortune s Algorithm Move the sweep line downwards and update the VD as the line moves When the line reaches, we will have our final VD. (Because any point in the space is closer to some site than y = ) Note: We never create the beach line explicitly. We only maintain enough information that allows us to reconstruct parts of it when we need them 5/17/

36 Beach Line Changes How can the beach line change (topologically) A new arc appears An existing arc is removed 5/17/

37 Site Event When the sweep line hits a new site Where are the points that are equi-distant from the new site and the sweep line? 5/17/

38 Site Event Lemma: The only way in which a new arc can appear on the beach line is through a site event Proof by contradiction The arc α i of site p i = p ix, p iy has the function y = 1 x p 2 ix + l 2 p iy l y + p iy y 5/17/

39 Site Event y = 1 2 x p ix 2 p iy l y + l y + p iy Consequence: The beach line can have at most 2n 1 arcs > Δy 2 Δy 2 p ix, p iy Δy 5/17/

40 Circle (Vertex) Event An existing arc shrinks into a point and disappears This happens when three (or more) sites become closer to a point than the sweep line shielding the point from the sweep line 5/17/

41 Circle (Vertex) Event The sweep line will only go further while the points stay This results in a vertex on the Voronoi Diagram Lemma: The only way in which an existing arc can disappear from the beach line is through a circle event 5/17/

42 Circle (Vertex) Event A circle event is added at the lowest point of the circle Circle event 5/17/

43 Plane Sweep Constructs Sweep line status: The VD of the sites and the sweep line. In other words, the final part of the VD + the beach line Event points: Site event: A new site that adds a new arc to the VD. 1-to-1 mapping to an input site Circle event: The disappearance of an arc resulting in a vertex in VD. Can only be discovered along the way 5/17/

44 Sweep Line Status The final part of VD is stored in the Doubly- Connected Edge List (DCEL) data structure The beach line is stored as a BST (τ) of arcs sorted by x Leaves store arcs Internal nodes store the breakpoints as a pair of sites p i, p j 5/17/

45 Event Points Stored in a priority queue Q as a max-heap ordered by y Q is initialized with all sites 5/17/

46 Handle Site Event (p i ) If τ is empty, add the site to it and return Search in τ for the arc α vertically above p i If exists, delete a circle event linked with α Split α into two arcs and insert a new arc α i corresponding to p i The new intersections are α, α i and α i, α Check the new triples of arcs and add their corresponding circle event to Q 5/17/

47 Handle Circle Event (γ) Delete the leaf γ that corresponds to the disappearing arc α from τ Add the center of the circle event as a vertex in VD. This center is one side of two halfedges Check for any new circle events caused by the now adjacent triples of arcs Running time: O n log n 5/17/

48 Delaunay Triangulation 5/17/

49 Delaunay Triangulation A Delaunay triangulation can be defined as the (unique) triangulation in which the circumcircle of each triangle has no other sites Naïve algorithm: Consider all possible triangles O n 3 Check if the circumcircle of the triangle is empty O n Running time O n 4 5/17/

50 Guibas and Stolfi s Algorithm A divide and conquer algorithm 5/17/

51 Algorithm Outline DelaunayTriangulation(P) If ( P <= 3) return TrivialDT(P) Split P into P1 and P2 DT1 = DelaunayTriangulation(P1) DT2 = DelaunayTriangulation(P1) Merge(DT1, DT2) 5/17/

52 Split 5/17/2018 Pre-sort by x 52

53 TrivialDT(P) P TrivialDT(P) 5/17/

54 Merge(P1, P2) 5/17/

55 Merge(P1, P2) 5/17/

56 Merge(P1, P2) 5/17/

57 Merge(P1, P2) 5/17/

58 Find the First LR edge Base LR edge 5/17/2018 Upper tangent of CH P 1, CH P 2 58

59 Rising Bubble 5/17/

60 Rising Bubble 5/17/

61 Rising Bubble 5/17/

62 Rising Bubble New Base LR edge 5/17/

63 Rising Bubble 5/17/

64 Rising Bubble 5/17/

65 Rising Bubble 5/17/

66 Rising Bubble 5/17/

67 Rising Bubble 5/17/

68 Rising Bubble 5/17/

69 Rising Bubble 5/17/

70 Rising Bubble 5/17/

71 Rising Bubble 5/17/

72 Rising Bubble 5/17/

73 Rising Bubble 5/17/

74 Rising Bubble 5/17/

75 Rising Bubble 5/17/

76 Rising Bubble 5/17/

77 Rising Bubble 5/17/

78 Rising Bubble 5/17/

79 Rising Bubble 5/17/

80 Rising Bubble 5/17/

81 Rising Bubble 5/17/

82 Rising Bubble 5/17/

83 Rising Bubble 5/17/

84 Rising Bubble 5/17/

85 Rising Bubble 5/17/

86 Rising Bubble 5/17/

87 Rising Bubble 5/17/

88 Rising Bubble 5/17/

89 Rising Bubble 5/17/

90 Rising Bubble 5/17/

91 Rising Bubble 5/17/

92 Rising Bubble 5/17/

93 Rising Bubble 5/17/

94 Rising Bubble 5/17/

95 Rising Bubble 5/17/

96 Rising Bubble 5/17/

97 Rising Bubble 5/17/

98 Rising Bubble 5/17/

99 Rising Bubble 5/17/

100 Rising Bubble 5/17/

101 Terminate 5/17/

102 Rising Bubble Implementation θl θ R 5/17/

103 Rising Bubble Implementation θ L θ R 5/17/

104 Rising Bubble Implementation θ L θ R 5/17/

105 Rising Bubble Implementation θ L θ R 5/17/

106 Rising Bubble Implementation θ L θ R 5/17/

107 Rising Bubble Implementation 5/17/

108 Terrain Problem 5/17/

109 Terrain Problem We would like to build a model for the Earth terrain We can measure the altitude at some points How to approximate the altitude for nonmeasured points? 5/17/

110 Nearest Neighbor One possibility, approximate it to the nearest measured point Does not look natural 5/17/

111 Triangulation Determine a triangulation Raise each point to its altitude Question: Which triangulation? 5/17/

112 Angle-optimal Triangulation For a triangulation T A(T): is the angle vector which consists of the angles α s in sorted order α 1 α 2 α n We say that A T > A(T ) if A(T) is lexicographically larger than A(T ) T is angle optimal if A T A(T ) for all triangulations T α 2 α 1 α 3 α 4 α 6 α 5 5/17/

113 Edge Flip p l p l α 1 α 1 α 6 α 2 α 6 α 5 p j Edge Flip α 2 α 5 p j p i α 3 α 4 p i α 3 α 4 p k The edge p i p j is illegal if min α i < min 1 i 6 Flipping an edge increases the angle vector p k 1 i 6 α i 5/17/

114 Detect Illegal Edges Thale s Theorem ab is a chord in C arb > apb apb = aqb aqb > asb p q s r a C b 5/17/

115 Detect Illegal Edges By Thale s Theorem p i p j p k < p i p l p k p j p i p k < p j p l p k An angle-optimal triangulation is equivalent to Delauany Triangulation p l p j p i p k Illegal Edge 5/17/

116 Delaunay Triangulation 1. Start with any valid triangulation 2. If no illegal edges found, terminate 3. Pick an illegal edge and flip it 4. Go to 2 Does this algorithm terminate? Running time: O n 2 5/17/

117 Incremental Algorithm Given an existing Delaunay triangulation DT(P) We need to add a point p i to DT 5/17/

118 Incremental Algorithm 5/17/

119 Incremental Algorithm 5/17/

120 Incremental Algorithm 5/17/

121 Incremental Algorithm 5/17/

122 Incremental Algorithm p 1 p 2 5/17/

123 Incremental Algorithm 5/17/

124 Incremental Algorithm 5/17/

125 Insert 5/17/

126 Legalize Edge 5/17/

127 Correctness 5/17/

128 Correctness 5/17/

129 Incremental Algorithm 5/17/

130 Search Data Structure 5/17/

CMPS 3130/6130 Computational Geometry Spring Voronoi Diagrams. Carola Wenk. Based on: Computational Geometry: Algorithms and Applications

CMPS 3130/6130 Computational Geometry Spring Voronoi Diagrams. Carola Wenk. Based on: Computational Geometry: Algorithms and Applications CMPS 3130/6130 Computational Geometry Spring 2015 Voronoi Diagrams Carola Wenk Based on: Computational Geometry: Algorithms and Applications 2/19/15 CMPS 3130/6130 Computational Geometry 1 Voronoi Diagram

More information

Computational Geometry

Computational Geometry Lecture 12: Lecture 12: Motivation: Terrains by interpolation To build a model of the terrain surface, we can start with a number of sample points where we know the height. Lecture 12: Motivation: Terrains

More information

Fortune s Algorithm. Notes from the book by de Berg, Van Krevald, Overmars, and Schwarzkpf

Fortune s Algorithm. Notes from the book by de Berg, Van Krevald, Overmars, and Schwarzkpf Notes from the book by de Berg, Van Krevald, Overmars, and Schwarzkpf Based on sweeping the plane with a horizontal line and computing the Voronoi diagram as the line sweeps Straight forward approach won

More information

Lecture 16: Voronoi Diagrams and Fortune s Algorithm

Lecture 16: Voronoi Diagrams and Fortune s Algorithm contains q changes as a result of the ith insertion. Let P i denote this probability (where the probability is taken over random insertion orders, irrespective of the choice of q). Since q could fall through

More information

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

Voronoi Diagrams and Delaunay Triangulation slides by Andy Mirzaian (a subset of the original slides are used here) Voronoi Diagrams and Delaunay Triangulation slides by Andy Mirzaian (a subset of the original slides are used here) Voronoi Diagram & Delaunay Triangualtion Algorithms Divide-&-Conquer Plane Sweep Lifting

More information

Voronoi diagrams Delaunay Triangulations. Pierre Alliez Inria

Voronoi diagrams Delaunay Triangulations. Pierre Alliez Inria Voronoi diagrams Delaunay Triangulations Pierre Alliez Inria Voronoi Diagram Voronoi Diagram Voronoi Diagram The collection of the non-empty Voronoi regions and their faces, together with their incidence

More information

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

CS 532: 3D Computer Vision 14 th Set of Notes 1 CS 532: 3D Computer Vision 14 th Set of Notes Instructor: Philippos Mordohai Webpage: www.cs.stevens.edu/~mordohai E-mail: Philippos.Mordohai@stevens.edu Office: Lieb 215 Lecture Outline Triangulating

More information

CS S Lecture February 13, 2017

CS S Lecture February 13, 2017 CS 6301.008.18S Lecture February 13, 2017 Main topics are #Voronoi-diagrams, #Fortune. Quick Note about Planar Point Location Last week, I started giving a difficult analysis of the planar point location

More information

VORONOI DIAGRAM PETR FELKEL. FEL CTU PRAGUE Based on [Berg] and [Mount]

VORONOI DIAGRAM PETR FELKEL. FEL CTU PRAGUE   Based on [Berg] and [Mount] VORONOI DIAGRAM PETR FELKEL FEL CTU PRAGUE felkel@fel.cvut.cz https://cw.felk.cvut.cz/doku.php/courses/a4m39vg/start Based on [Berg] and [Mount] Version from 9.11.2017 Talk overview Definition and examples

More information

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

High-Dimensional Computational Geometry. Jingbo Shang University of Illinois at Urbana-Champaign Mar 5, 2018 High-Dimensional Computational Geometry Jingbo Shang University of Illinois at Urbana-Champaign Mar 5, 2018 Outline 3-D vector geometry High-D hyperplane intersections Convex hull & its extension to 3

More information

Voronoi diagram and Delaunay triangulation

Voronoi diagram and Delaunay triangulation Voronoi diagram and Delaunay triangulation Ioannis Emiris & Vissarion Fisikopoulos Dept. of Informatics & Telecommunications, University of Athens Computational Geometry, spring 2015 Outline 1 Voronoi

More information

Delaunay Triangulations

Delaunay Triangulations Delaunay Triangulations (slides mostly by Glenn Eguchi) Motivation: Terrains Set of data points A R 2 Height ƒ(p) defined at each point p in A How can we most naturally approximate height of points not

More information

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

Delaunay Triangulations. Presented by Glenn Eguchi Computational Geometry October 11, 2001 Delaunay Triangulations Presented by Glenn Eguchi 6.838 Computational Geometry October 11, 2001 Motivation: Terrains Set of data points A R 2 Height ƒ(p) defined at each point p in A How can we most naturally

More information

7 Voronoi Diagrams. The Post Office Problem

7 Voronoi Diagrams. The Post Office Problem 7 Voronoi Diagrams The Post Office Problem Suppose you are on the advisory board for the planning of a supermarket chain, and there are plans to open a new branch at a certain location. To predict whether

More information

2D Geometry. Pierre Alliez Inria Sophia Antipolis

2D Geometry. Pierre Alliez Inria Sophia Antipolis 2D Geometry Pierre Alliez Inria Sophia Antipolis Outline Sample problems Polygons Graphs Convex hull Voronoi diagram Delaunay triangulation Sample Problems Line Segment Intersection Theorem: Segments (p

More information

6.854J / J Advanced Algorithms Fall 2008

6.854J / J Advanced Algorithms Fall 2008 MIT OpenCourseWare http://ocw.mit.edu 6.854J / 18.415J Advanced Algorithms Fall 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. 18.415/6.854 Advanced

More information

Voronoi Diagrams and Delaunay Triangulations. O Rourke, Chapter 5

Voronoi Diagrams and Delaunay Triangulations. O Rourke, Chapter 5 Voronoi Diagrams and Delaunay Triangulations O Rourke, Chapter 5 Outline Preliminaries Properties and Applications Computing the Delaunay Triangulation Preliminaries Given a function f: R 2 R, the tangent

More information

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

Voronoi Diagrams in the Plane. Chapter 5 of O Rourke text Chapter 7 and 9 of course text Voronoi Diagrams in the Plane Chapter 5 of O Rourke text Chapter 7 and 9 of course text Voronoi Diagrams As important as convex hulls Captures the neighborhood (proximity) information of geometric objects

More information

Week 8 Voronoi Diagrams

Week 8 Voronoi Diagrams 1 Week 8 Voronoi Diagrams 2 Voronoi Diagram Very important problem in Comp. Geo. Discussed back in 1850 by Dirichlet Published in a paper by Voronoi in 1908 3 Voronoi Diagram Fire observation towers: an

More information

Art Gallery, Triangulation, and Voronoi Regions

Art Gallery, Triangulation, and Voronoi Regions Art Gallery, Triangulation, and Voronoi Regions CS535 Fall 2016 Daniel G. Aliaga Department of Computer Science Purdue University [some slides based on Profs. Shmuel Wimer and Andy Mirzaian Topics Triangulation

More information

Lecture 11 Combinatorial Planning: In the Plane

Lecture 11 Combinatorial Planning: In the Plane CS 460/560 Introduction to Computational Robotics Fall 2017, Rutgers University Lecture 11 Combinatorial Planning: In the Plane Instructor: Jingjin Yu Outline Convex shapes, revisited Combinatorial planning

More information

Notes in Computational Geometry Voronoi Diagrams

Notes in Computational Geometry Voronoi Diagrams Notes in Computational Geometry Voronoi Diagrams Prof. Sandeep Sen and Prof. Amit Kumar Indian Institute of Technology, Delhi Voronoi Diagrams In this lecture, we study Voronoi Diagrams, also known as

More information

CAD & Computational Geometry Course plan

CAD & Computational Geometry Course plan Course plan Introduction Segment-Segment intersections Polygon Triangulation Intro to Voronoï Diagrams & Geometric Search Sweeping algorithm for Voronoï Diagrams 1 Voronoi Diagrams Voronoi Diagrams or

More information

Computational Geometry Lecture Delaunay Triangulation

Computational Geometry Lecture Delaunay Triangulation Computational Geometry Lecture Delaunay Triangulation INSTITUTE FOR THEORETICAL INFORMATICS FACULTY OF INFORMATICS 7.12.2015 1 Modelling a Terrain Sample points p = (x p, y p, z p ) Projection π(p) = (p

More information

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

3. Voronoi Diagrams. 3.1 Definitions & Basic Properties. Examples : 3. Voronoi Diagrams Examples : 1. Fire Observation Towers Imagine a vast forest containing a number of fire observation towers. Each ranger is responsible for extinguishing any fire closer to her tower

More information

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

Advanced Algorithms Computational Geometry Prof. Karen Daniels. Fall, 2012 UMass Lowell Computer Science 91.504 Advanced Algorithms Computational Geometry Prof. Karen Daniels Fall, 2012 Voronoi Diagrams & Delaunay Triangulations O Rourke: Chapter 5 de Berg et al.: Chapters 7,

More information

Computational Geometry

Computational Geometry Computational Geometry 600.658 Convexity A set S is convex if for any two points p, q S the line segment pq S. S p S q Not convex Convex? Convexity A set S is convex if it is the intersection of (possibly

More information

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

PS Computational Geometry Homework Assignment Sheet I (Due 16-March-2018) Homework Assignment Sheet I (Due 16-March-2018) Assignment 1 Let f, g : N R with f(n) := 8n + 4 and g(n) := 1 5 n log 2 n. Prove explicitly that f O(g) and f o(g). Assignment 2 How can you generalize the

More information

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

Voronoi Diagrams. A Voronoi diagram records everything one would ever want to know about proximity to a set of points Voronoi Diagrams Voronoi Diagrams A Voronoi diagram records everything one would ever want to know about proximity to a set of points Who is closest to whom? Who is furthest? We will start with a series

More information

Flavor of Computational Geometry. Voronoi Diagrams. Shireen Y. Elhabian Aly A. Farag University of Louisville

Flavor of Computational Geometry. Voronoi Diagrams. Shireen Y. Elhabian Aly A. Farag University of Louisville Flavor of Computational Geometry Voronoi Diagrams Shireen Y. Elhabian Aly A. Farag University of Louisville March 2010 Pepperoni Sparse Pizzas Olive Sparse Pizzas Just Two Pepperonis A person gets the

More information

In what follows, we will focus on Voronoi diagrams in Euclidean space. Later, we will generalize to other distance spaces.

In what follows, we will focus on Voronoi diagrams in Euclidean space. Later, we will generalize to other distance spaces. Voronoi Diagrams 4 A city builds a set of post offices, and now needs to determine which houses will be served by which office. It would be wasteful for a postman to go out of their way to make a delivery

More information

Other Voronoi/Delaunay Structures

Other Voronoi/Delaunay Structures Other Voronoi/Delaunay Structures Overview Alpha hulls (a subset of Delaunay graph) Extension of Voronoi Diagrams Convex Hull What is it good for? The bounding region of a point set Not so good for describing

More information

Chapter 8. Voronoi Diagrams. 8.1 Post Oce Problem

Chapter 8. Voronoi Diagrams. 8.1 Post Oce Problem Chapter 8 Voronoi Diagrams 8.1 Post Oce Problem Suppose there are n post oces p 1,... p n in a city. Someone who is located at a position q within the city would like to know which post oce is closest

More information

Delaunay Triangulation

Delaunay Triangulation Delaunay Triangulation Steve Oudot slides courtesy of O. Devillers MST MST MST use Kruskal s algorithm with Del as input O(n log n) Last: lower bound for Delaunay Let x 1, x 2,..., x n R, to be sorted

More information

Computational Geometry

Computational Geometry More on Voronoi diagrams 1 Can we move a disc from one location to another amidst obstacles? 2 Since the Voronoi diagram of point sites is locally furthest away from those sites, we can move the disc if

More information

Computational Geometry. Algorithm Design (10) Computational Geometry. Convex Hull. Areas in Computational Geometry

Computational Geometry. Algorithm Design (10) Computational Geometry. Convex Hull. Areas in Computational Geometry Computational Geometry Algorithm Design (10) Computational Geometry Graduate School of Engineering Takashi Chikayama Algorithms formulated as geometry problems Broad application areas Computer Graphics,

More information

Outline of the presentation

Outline of the presentation Surface Reconstruction Petra Surynková Charles University in Prague Faculty of Mathematics and Physics petra.surynkova@mff.cuni.cz Outline of the presentation My work up to now Surfaces of Building Practice

More information

Course 16 Geometric Data Structures for Computer Graphics. Voronoi Diagrams

Course 16 Geometric Data Structures for Computer Graphics. Voronoi Diagrams Course 16 Geometric Data Structures for Computer Graphics Voronoi Diagrams Dr. Elmar Langetepe Institut für Informatik I Universität Bonn Geometric Data Structures for CG July 27 th Voronoi Diagrams San

More information

Voronoi Diagram. Xiao-Ming Fu

Voronoi Diagram. Xiao-Ming Fu Voronoi Diagram Xiao-Ming Fu Outlines Introduction Post Office Problem Voronoi Diagram Duality: Delaunay triangulation Centroidal Voronoi tessellations (CVT) Definition Applications Algorithms Outlines

More information

Computational Geometry Lecture Duality of Points and Lines

Computational Geometry Lecture Duality of Points and Lines Computational Geometry Lecture Duality of Points and Lines INSTITUTE FOR THEORETICAL INFORMATICS FACULTY OF INFORMATICS 11.1.2016 Duality Transforms We have seen duality for planar graphs and duality of

More information

arxiv: v1 [cs.cg] 8 Jan 2018

arxiv: v1 [cs.cg] 8 Jan 2018 Voronoi Diagrams for a Moderate-Sized Point-Set in a Simple Polygon Eunjin Oh Hee-Kap Ahn arxiv:1801.02292v1 [cs.cg] 8 Jan 2018 Abstract Given a set of sites in a simple polygon, a geodesic Voronoi diagram

More information

Lifting Transform, Voronoi, Delaunay, Convex Hulls

Lifting Transform, Voronoi, Delaunay, Convex Hulls Lifting Transform, Voronoi, Delaunay, Convex Hulls Subhash Suri Department of Computer Science University of California Santa Barbara, CA 93106 1 Lifting Transform (A combination of Pless notes and my

More information

Optimal Compression of a Polyline with Segments and Arcs

Optimal Compression of a Polyline with Segments and Arcs Optimal Compression of a Polyline with Segments and Arcs Alexander Gribov Esri 380 New York Street Redlands, CA 92373 Email: agribov@esri.com arxiv:1604.07476v5 [cs.cg] 10 Apr 2017 Abstract This paper

More information

CSE 5311 Notes 13: Computational Geometry

CSE 5311 Notes 13: Computational Geometry CSE 5311 Notes 13: Computational Geometry (Last updated 4/17/17 4:39 PM) SMALLEST ENCLOSING DISK See section 4.7 of de Berg ( http://dx.doi.org.ezproxy.uta.edu/10.1007/978-3-540-77974-2 ) Algorithm MINIDISC(P)

More information

Geometric Modeling. Bing-Yu Chen National Taiwan University The University of Tokyo

Geometric Modeling. Bing-Yu Chen National Taiwan University The University of Tokyo Geometric Modeling Bing-Yu Chen National Taiwan University The University of Tokyo Surface Simplification Motivation Basic Idea of LOD Discrete LOD Continuous LOD Simplification Problem Characteristics

More information

Algorithmische Geometrie Voronoi Diagram

Algorithmische Geometrie Voronoi Diagram Algorithmische Geometrie Voronoi Diagram Martin Held FB Computerwissenschaften Universität Salzburg A 5020 Salzburg, Austria May 28, 2008 Quit Full Screen Previous Page Next Page GoTo Page Go Forward Go

More information

Proceedings - AutoCarto Columbus, Ohio, USA - September 16-18, Alan Saalfeld

Proceedings - AutoCarto Columbus, Ohio, USA - September 16-18, Alan Saalfeld Voronoi Methods for Spatial Selection Alan Saalfeld ABSTRACT: We define measures of "being evenly distributed" for any finite set of points on a sphere and show how to choose point subsets of arbitrary

More information

We will then introduce the DT, discuss some of its fundamental properties and show how to compute a DT directly from a given set of points.

We will then introduce the DT, discuss some of its fundamental properties and show how to compute a DT directly from a given set of points. Voronoi Diagram and Delaunay Triangulation 1 Introduction The Voronoi Diagram (VD, for short) is a ubiquitious structure that aears in a variety of discilines - biology, geograhy, ecology, crystallograhy,

More information

The Farthest Point Delaunay Triangulation Minimizes Angles

The Farthest Point Delaunay Triangulation Minimizes Angles The Farthest Point Delaunay Triangulation Minimizes Angles David Eppstein Department of Information and Computer Science UC Irvine, CA 92717 November 20, 1990 Abstract We show that the planar dual to the

More information

An Introduction to Computational Geometry: Arrangements and Duality

An Introduction to Computational Geometry: Arrangements and Duality An Introduction to Computational Geometry: Arrangements and Duality Joseph S. B. Mitchell Stony Brook University Some images from [O Rourke, Computational Geometry in C, 2 nd Edition, Chapter 6] Arrangement

More information

Computational Geometry

Computational Geometry Computational Geometry Range queries Convex hulls Lower bounds Planar subdivision search Line segment intersection Convex polygons Voronoi diagrams Minimum spanning trees Nearest neighbors Triangulations

More information

Further Graphics. A Brief Introduction to Computational Geometry

Further Graphics. A Brief Introduction to Computational Geometry Further Graphics A Brief Introduction to Computational Geometry 1 Alex Benton, University of Cambridge alex@bentonian.com Supported in part by Google UK, Ltd Terminology We ll be focusing on discrete (as

More information

An efficient implementation of the greedy forwarding strategy

An efficient implementation of the greedy forwarding strategy An efficient implementation of the greedy forwarding strategy Hannes Stratil Embedded Computing Systems Group E182/2 Technische Universität Wien Treitlstraße 3 A-1040 Vienna Email: hannes@ecs.tuwien.ac.at

More information

Voronoi Diagrams. Voronoi Diagrams. Swami Sarvottamananda. Ramakrishna Mission Vivekananda University NIT-IGGA, 2010

Voronoi Diagrams. Voronoi Diagrams. Swami Sarvottamananda. Ramakrishna Mission Vivekananda University NIT-IGGA, 2010 Voronoi Diagrams Swami Sarvottamananda Ramakrishna Mission Vivekananda University NIT-IGGA, 2010 Outline I 1 Introduction Motivation for Voronoi Diagram Historical Notes and Web References 2 Voronoi Diagrams

More information

2 Delaunay Triangulations

2 Delaunay Triangulations and the closed half-space H(b, a) containingb and with boundary the bisector hyperplane is the locus of all points such that (b 1 a 1 )x 1 + +(b m a m )x m (b 2 1 + + b 2 m)/2 (a 2 1 + + a 2 m)/2. The

More information

Straight Skeleton. Computational Geometry and Geometric Computing Seminar Lavinia Dinu. Supervisor: Eric Berberich

Straight Skeleton. Computational Geometry and Geometric Computing Seminar Lavinia Dinu. Supervisor: Eric Berberich Straight Skeleton Computational Geometry and Geometric Computing Seminar Lavinia Dinu Supervisor: Eric Berberich How to fit a roof to these walls? [SSA] Walls and fitted roof Outline Definitions and Basic

More information

Computational Geometry

Computational Geometry Motivation Motivation Polygons and visibility Visibility in polygons Triangulation Proof of the Art gallery theorem Two points in a simple polygon can see each other if their connecting line segment is

More information

Computational Geometry. Geometry Cross Product Convex Hull Problem Sweep Line Algorithm

Computational Geometry. Geometry Cross Product Convex Hull Problem Sweep Line Algorithm GEOMETRY COMP 321 McGill University These slides are mainly compiled from the following resources. - Professor Jaehyun Park slides CS 97SI - Top-coder tutorials. - Programming Challenges books. Computational

More information

Introduction to Voronoi Diagrams and Delaunay Triangulations

Introduction to Voronoi Diagrams and Delaunay Triangulations Introduction to Voronoi Diagrams and Delaunay Triangulations Solomon Boulos Introduction to Voronoi Diagrams and Delaunay Triangulations p.1 Voronoi Diagrams Voronoi region: V (p i ) = {x R n p i x p j

More information

COMPUTING CONSTRAINED DELAUNAY

COMPUTING CONSTRAINED DELAUNAY COMPUTING CONSTRAINED DELAUNAY TRIANGULATIONS IN THE PLANE By Samuel Peterson, University of Minnesota Undergraduate The Goal The Problem The Algorithms The Implementation Applications Acknowledgments

More information

Unit 10 Circles 10-1 Properties of Circles Circle - the set of all points equidistant from the center of a circle. Chord - A line segment with

Unit 10 Circles 10-1 Properties of Circles Circle - the set of all points equidistant from the center of a circle. Chord - A line segment with Unit 10 Circles 10-1 Properties of Circles Circle - the set of all points equidistant from the center of a circle. Chord - A line segment with endpoints on the circle. Diameter - A chord which passes through

More information

Surface Mesh Generation

Surface Mesh Generation Surface Mesh Generation J.-F. Remacle Université catholique de Louvain September 22, 2011 0 3D Model For the description of the mesh generation process, let us consider the CAD model of a propeller presented

More information

Polygon decomposition. Motivation: Art gallery problem

Polygon decomposition. Motivation: Art gallery problem CG Lecture 3 Polygon decomposition 1. Polygon triangulation Triangulation theory Monotone polygon triangulation 2. Polygon decomposition into monotone pieces 3. Trapezoidal decomposition 4. Convex decomposition

More information

Module 4: Index Structures Lecture 16: Voronoi Diagrams and Tries. The Lecture Contains: Voronoi diagrams. Tries. Index structures

Module 4: Index Structures Lecture 16: Voronoi Diagrams and Tries. The Lecture Contains: Voronoi diagrams. Tries. Index structures The Lecture Contains: Voronoi diagrams Tries Delaunay triangulation Algorithms Extensions Index structures 1-dimensional index structures Memory-based index structures Disk-based index structures Classification

More information

Lecture 1 Discrete Geometric Structures

Lecture 1 Discrete Geometric Structures Lecture 1 Discrete Geometric Structures Jean-Daniel Boissonnat Winter School on Computational Geometry and Topology University of Nice Sophia Antipolis January 23-27, 2017 Computational Geometry and Topology

More information

Planar Graphs. 1 Graphs and maps. 1.1 Planarity and duality

Planar Graphs. 1 Graphs and maps. 1.1 Planarity and duality Planar Graphs In the first half of this book, we consider mostly planar graphs and their geometric representations, mostly in the plane. We start with a survey of basic results on planar graphs. This chapter

More information

SOAR2001 GEOMETRY SUMMER 2001

SOAR2001 GEOMETRY SUMMER 2001 SR2001 GEMETRY SUMMER 2001 1. Introduction to plane geometry This is the short version of the notes for one of the chapters. The proofs are omitted but some hints are given. Try not to use the hints first,

More information

Tutorial 3 Comparing Biological Shapes Patrice Koehl and Joel Hass

Tutorial 3 Comparing Biological Shapes Patrice Koehl and Joel Hass Tutorial 3 Comparing Biological Shapes Patrice Koehl and Joel Hass University of California, Davis, USA http://www.cs.ucdavis.edu/~koehl/ims2017/ What is a shape? A shape is a 2-manifold with a Riemannian

More information

Lecture 4: Geometric Algorithms (Convex Hull, Voronoi diagrams)

Lecture 4: Geometric Algorithms (Convex Hull, Voronoi diagrams) Advanced Algorithms Fall 2015 Lecture 4: Geometric Algorithms (Convex Hull, Voronoi diagrams) Faculty: K.R. Chowdhary : Professor of CS Disclaimer: These notes have not been subjected to the usual scrutiny

More information

Distributed Algorithm for Voronoi Partition of Wireless Sensor Networks with a Limited Sensing Range

Distributed Algorithm for Voronoi Partition of Wireless Sensor Networks with a Limited Sensing Range sensors Article Distributed Algorithm for Voronoi Partition of Wireless Sensor Networks with a Limited Sensing Range Chenlong He 1, * ID, Zuren Feng 1 and Zhigang Ren 2 1 State Key Laboratory for Manufacturing

More information

Computational Geometry Exercise Duality

Computational Geometry Exercise Duality Computational Geometry Exercise Duality LEHRSTUHL FÜR ALGORITHMIK I INSTITUT FÜR THEORETISCHE INFORMATIK FAKULTÄT FÜR INFORMATIK Guido Brückner 20.07.2018 1 Duality Transforms We have seen duality for

More information

Approximating a set of points by circles

Approximating a set of points by circles Approximating a set of points by circles Sandra Gesing June 2005 Abstract This paper is an abstract of the German diploma thesis Approximation von Punktmengen durch Kreise finished by the author in March

More information

COMPUTATIONAL GEOMETRY

COMPUTATIONAL GEOMETRY Thursday, September 20, 2007 (Ming C. Lin) Review on Computational Geometry & Collision Detection for Convex Polytopes COMPUTATIONAL GEOMETRY (Refer to O'Rourke's and Dutch textbook ) 1. Extreme Points

More information

274 Curves on Surfaces, Lecture 5

274 Curves on Surfaces, Lecture 5 274 Curves on Surfaces, Lecture 5 Dylan Thurston Notes by Qiaochu Yuan Fall 2012 5 Ideal polygons Previously we discussed three models of the hyperbolic plane: the Poincaré disk, the upper half-plane,

More information

Divided-and-Conquer for Voronoi Diagrams Revisited. Supervisor: Ben Galehouse Presenter: Xiaoqi Cao

Divided-and-Conquer for Voronoi Diagrams Revisited. Supervisor: Ben Galehouse Presenter: Xiaoqi Cao Divided-and-Conquer for Voronoi Diagrams Revisited Supervisor: Ben Galehouse Presenter: Xiaoqi Cao Outline Introduction Generalized Voronoi Diagram Algorithm for building generalized Voronoi Diagram Applications

More information

Lecture 4 (CGAL) Panos Giannopoulos, Dror Atariah AG TI WS 2012/13

Lecture 4 (CGAL) Panos Giannopoulos, Dror Atariah AG TI WS 2012/13 Lecture 4 (CGAL) Panos Giannopoulos Dror Atariah AG TI WS 2012/13 Exercise 3? Outline Note: Random points Delaunay Triangulations and Voronoi diagrams Exercise 4 Project ideas FU Berlin Lecture 4 (CGAL)

More information

Midpoint Routing algorithms for Delaunay Triangulations

Midpoint Routing algorithms for Delaunay Triangulations Midpoint Routing algorithms for Delaunay Triangulations Weisheng Si and Albert Y. Zomaya Centre for Distributed and High Performance Computing School of Information Technologies Prologue The practical

More information

Voronoi diagrams and applications

Voronoi diagrams and applications Voronoi diagrams and applications Prof. Ramin Zabih http://cs100r.cs.cornell.edu Administrivia Last quiz: Thursday 11/15 Prelim 3: Thursday 11/29 (last lecture) A6 is due Friday 11/30 (LDOC) Final projects

More information

Field: We have been doing geometry eg linear programming. But in computational geometry, key difference in focus: low dimension d

Field: We have been doing geometry eg linear programming. But in computational geometry, key difference in focus: low dimension d 1 Geometry Field: We have been doing geometry eg linear programming But in computational geometry, key difference in focus: low dimension d Lots of algorithms that are great for d small, but exponential

More information

Wolfgang Mulzer Institut für Informatik. Planar Delaunay Triangulations and Proximity Structures

Wolfgang Mulzer Institut für Informatik. Planar Delaunay Triangulations and Proximity Structures Wolfgang Mulzer Institut für Informatik Planar Delaunay Triangulations and Proximity Structures Proximity Structures Given: a set P of n points in the plane proximity structure: a structure that encodes

More information

Definitions. Topology/Geometry of Geodesics. Joseph D. Clinton. SNEC June Magnus J. Wenninger

Definitions. Topology/Geometry of Geodesics. Joseph D. Clinton. SNEC June Magnus J. Wenninger Topology/Geometry of Geodesics Joseph D. Clinton SNEC-04 28-29 June 2003 Magnus J. Wenninger Introduction Definitions Topology Goldberg s polyhedra Classes of Geodesic polyhedra Triangular tessellations

More information

Elementary Planar Geometry

Elementary Planar Geometry Elementary Planar Geometry What is a geometric solid? It is the part of space occupied by a physical object. A geometric solid is separated from the surrounding space by a surface. A part of the surface

More information

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

CMSC 425: Lecture 9 Geometric Data Structures for Games: Geometric Graphs Thursday, Feb 21, 2013 CMSC 425: Lecture 9 Geometric Data Structures for Games: Geometric Graphs Thursday, Feb 21, 2013 Reading: Today s materials is presented in part in Computational Geometry: Algorithms and Applications (3rd

More information

The Medial Axis of the Union of Inner Voronoi Balls in the Plane

The Medial Axis of the Union of Inner Voronoi Balls in the Plane The Medial Axis of the Union of Inner Voronoi Balls in the Plane Joachim Giesen a, Balint Miklos b,, Mark Pauly b a Max-Planck Institut für Informatik, Saarbrücken, Germany b Applied Geometry Group, ETH

More information

CMSC 754: Computational Geometry Fall 2002

CMSC 754: Computational Geometry Fall 2002 CMSC 754: Computational Geometry Fall 00 http://www.cs.umd.edu/~mount/754/ Instructor: Dave Mount. Office: AVW 309. Email: mount@cs.umd.edu. Office phone: (301) 405 704. Office hours: Mon 3:00 4:00, Wed

More information

Polygon Triangulation. (slides partially by Daniel Vlasic )

Polygon Triangulation. (slides partially by Daniel Vlasic ) Polygon Triangulation (slides partially by Daniel Vlasic ) Triangulation: Definition Triangulation of a simple polygon P: decomposition of P into triangles by a maximal set of non-intersecting diagonals

More information

Line segment intersection. Family of intersection problems

Line segment intersection. Family of intersection problems CG Lecture 2 Line segment intersection Intersecting two line segments Line sweep algorithm Convex polygon intersection Boolean operations on polygons Subdivision overlay algorithm 1 Family of intersection

More information

Simulations of the quadrilateral-based localization

Simulations of the quadrilateral-based localization Simulations of the quadrilateral-based localization Cluster success rate v.s. node degree. Each plot represents a simulation run. 9/15/05 Jie Gao CSE590-fall05 1 Random deployment Poisson distribution

More information

Differential Geometry: Circle Packings. [A Circle Packing Algorithm, Collins and Stephenson] [CirclePack, Ken Stephenson]

Differential Geometry: Circle Packings. [A Circle Packing Algorithm, Collins and Stephenson] [CirclePack, Ken Stephenson] Differential Geometry: Circle Packings [A Circle Packing Algorithm, Collins and Stephenson] [CirclePack, Ken Stephenson] Conformal Maps Recall: Given a domain Ω R 2, the map F:Ω R 2 is conformal if it

More information

Prof. Gill Barequet. Center for Graphics and Geometric Computing, Technion. Dept. of Computer Science The Technion Haifa, Israel

Prof. Gill Barequet. Center for Graphics and Geometric Computing, Technion. Dept. of Computer Science The Technion Haifa, Israel Computational Geometry (CS 236719) http://www.cs.tufts.edu/~barequet/teaching/cg Chapter 1 Introduction 1 Copyright 2002-2009 2009 Prof. Gill Barequet Center for Graphics and Geometric Computing Dept.

More information

The Cut Locus and the Jordan Curve Theorem

The Cut Locus and the Jordan Curve Theorem The Cut Locus and the Jordan Curve Theorem Rich Schwartz November 19, 2015 1 Introduction A Jordan curve is a subset of R 2 which is homeomorphic to the circle, S 1. The famous Jordan Curve Theorem says

More information

Lecture 3 Randomized Algorithms

Lecture 3 Randomized Algorithms Lecture 3 Randomized Algorithms Jean-Daniel Boissonnat Winter School on Computational Geometry and Topology University of Nice Sophia Antipolis January 23-27, 2017 Computational Geometry and Topology Randomized

More information

Motion Planning. O Rourke, Chapter 8

Motion Planning. O Rourke, Chapter 8 O Rourke, Chapter 8 Outline Translating a polygon Moving a ladder Shortest Path (Point-to-Point) Goal: Given disjoint polygons in the plane, and given positions s and t, find the shortest path from s to

More information

THE DISTRIBUTED DEPLOYMENT THE PROBLEM (1) THE PROBLEM (2) OF MOBILE SENSORS THE VORONOI DIAGRAM THE PROBLEM. ! Contaminated places

THE DISTRIBUTED DEPLOYMENT THE PROBLEM (1) THE PROBLEM (2) OF MOBILE SENSORS THE VORONOI DIAGRAM THE PROBLEM. ! Contaminated places THE DISTRIBUTED DEPLOYMENT OF MOBILE SENSORS I.E. THE VORONOI DIAGRAM THE PROBLEM 1 Prof. Tiziana Calamoneri 2 Network Algorithms A.y. 2015/16 THE PROBLEM (1) THE PROBLEM (2)! We have already spoken about

More information

CS6100: Topics in Design and Analysis of Algorithms

CS6100: Topics in Design and Analysis of Algorithms CS6100: Topics in Design and Analysis of Algorithms Guarding and Triangulating Polygons John Augustine CS6100 (Even 2012): Guarding and Triangulating Polygons The Art Gallery Problem A simple polygon is

More information

10. Line Arrangements Lecture on Monday 2 nd November, 2009 by Michael Homann

10. Line Arrangements Lecture on Monday 2 nd November, 2009 by Michael Homann 10. Line Arrangements Lecture on Monday 2 nd November, 2009 by Michael Homann During the course of this lecture we encountered several situations where it was convenient to assume

More information

Preferred directions for resolving the non-uniqueness of Delaunay triangulations

Preferred directions for resolving the non-uniqueness of Delaunay triangulations Preferred directions for resolving the non-uniqueness of Delaunay triangulations Christopher Dyken and Michael S. Floater Abstract: This note proposes a simple rule to determine a unique triangulation

More information

Quadrilateral Meshing by Circle Packing

Quadrilateral Meshing by Circle Packing Quadrilateral Meshing by Circle Packing Marshall Bern 1 David Eppstein 2 Abstract We use circle-packing methods to generate quadrilateral meshes for polygonal domains, with guaranteed bounds both on the

More information

Geometric Modeling. Mesh Decimation. Mesh Decimation. Applications. Copyright 2010 Gotsman, Pauly Page 1. Oversampled 3D scan data

Geometric Modeling. Mesh Decimation. Mesh Decimation. Applications. Copyright 2010 Gotsman, Pauly Page 1. Oversampled 3D scan data Applications Oversampled 3D scan data ~150k triangles ~80k triangles 2 Copyright 2010 Gotsman, Pauly Page 1 Applications Overtessellation: E.g. iso-surface extraction 3 Applications Multi-resolution hierarchies

More information

Line Arrangements. Applications

Line Arrangements. Applications Computational Geometry Chapter 9 Line Arrangements 1 Line Arrangements Applications On the Agenda 2 1 Complexity of a Line Arrangement Given a set L of n lines in the plane, their arrangement A(L) is the

More information