Motivation: Art gallery problem. Polygon decomposition. Art gallery problem: upper bound. Art gallery problem: lower bound

Size: px
Start display at page:

Download "Motivation: Art gallery problem. Polygon decomposition. Art gallery problem: upper bound. Art gallery problem: lower bound"

Transcription

1 CG Lecture 3 Polygon decomposition 1. Polygon triangulation Triangulation theory Monotone polygon triangulation 2. Polygon decomposition into monotone pieces 3. Trapezoidal decomposition 4. Conex decomposition Motiation: Art gallery problem Definition: two points q and r in a simple polygon P can see each other if the open segment qr lies entirely within P. A point p guards a region R P if p sees all q R Problem: Gien a polygon P, what is the minimum number of guards required to guard P, and what are their locations? 5. Other results 1 2 p R r q Simple obserations Conex polygon: all points are isible from all other points only one guard in any location is necessary! Star-shaped polygon: all points are isible from any point in the kernel only one guard located in its kernel is necessary. conex star-shaped 3 Art gallery problem: upper bound Theorem: Eery simple planar polygon with n ertices has a triangulation of size n-2 (proof later). n-2 guards suffice for an n-gon: Subdiide the polygon into n 2 triangles (triangulation). Place one guard in each triangle. 4 Art gallery problem: lower bound There exists a polygon with n ertices, for which n/3 guards are necessary. Therefore, n/3 guards are needed in the worst case. Can we improe the upper bound? Yes! In fact, at most n/3 guards are necessary. Simple polygon triangulation Input: a polygon P described by an ordered sequence of ertices < 0, n 1 >. Output: a partition of P into n 2 non-oerlapping triangles and the adjacencies between them

2 Simple polygon triangulation: obserations The triangulation is not unique. One of them suffices. The triangulation is always possible. No new ertices are required. The triangulation adds new edges, called diagonals, between existing ertices. Ideas? Not all diagonals are alid! 7 8 Triangulation theory A ertex is conex if its interior angle < π, otherwise it is concae. A diagonal is a new edge between two polygon ertices that is entirely inside the polygon. Lemma 1: eery polygon has a conex ertex. Proof: the highest ertex (the one with the largest y coordinate) is conex. Lemma 2: Eery polygon with n>3 ertices has a diagonal. 9 Diagonals in polygons Proof: let be a conex ertex and let a and b its adjacent ertices. Since P is a simple polygon and n>3, there is no edge between a and b. Consider the following two cases: 1. the new edge ab is a diagonal 2. Otherwise, there exists a ertex x which is the closest to with respect to a line L parallel to ab which is a diagonal. L a a x Case 1 b Case 2 b 10 Triangulation theory Theorem: Eery simple polygon with n ertices has a triangulation with n 3 diagonals and n 2 triangles. Proof: By induction on n: Basis: A triangle (n=3) has a triangulation (itself) with no diagonals and one triangle. P 2 Induction on n: For an n-ertex polygon, construct a diagonal diiding the polygon into two polygons P 1 and P 2 with n 1 and n 2 ertices such that n 1 +n 2 2 = n. Diagonals: (n 1 3)+(n 2 3)+1 = (n 1 +n 2 2) 3 = n 3 Triangles: (n 1 2)+(n 2 2) = (n 1 +n 2 2) 2 = n 2 11 P 1 Triangulation dual Definition: The triangulation dual T of a triangulation of a simple polygon P is a graph whose nodes are triangles and whose edges are adjacencies between triangles sharing an edge. Property: the triangulation dual is a tree whose node degree is 3. Proof: Degree 3 by construction: no triangle has more than three neighbors. No cycles: by contradiction. If it has a cycle, it is a polygon with a hole (not a simple polygon). If fact, T is a binary tree with root degree one or two! 12 2

3 Simple triangulation algorithm (1) Idea: Reduce the polygon by clipping a triangle at each iteration. The clipped triangle will be formed by three consecutie ertices ( i, i+1, i+2 ). The diagonal is ( i, i+2 ). Test for alidity: 1. The diagonal does not intersect other polygon edges. 2. The diagonal must be inside the polygon (test that diagonal is inside normal cone). 13 Simple triangulation algorithm proc triangulate(p) if P 3 output(p) and return; i 0; while diagonal( i, i+2 ) is not legal i++; output( i, i+1, i+2 ); remoe i+1 from P; triangulate(p); Complexity: n times n diagonal tests that take each O(n) O(n 3 ). Sources of inefficiencies: repeated diagonal tests diagonals are not sorted or ordered Precompute diagonals in O(n 2 ) Triangulation algorithms What is the lower bound? O(n 2 ) by precomputing diagonals Improe to O(nlogn) by ordering them (see later). Is less than O(nlogn) possible? O(n log n)-time triangulation algorithm 1) Partition the polygon into y-monotone pieces.( חתיכות מונוט וניות ) 2) Triangulate each y-monotone piece separately Monotone polygons: definition A simple polygon is called monotone with respect to a line L if for any line L perpendicular to L the intersection of the polygon with L is connected. A polygon is called monotone if there exists any such line l. A polygon that is monotone with respect to the x/y-axis is called x/ymonotone. Question: How can we check in O(n) time whether a polygon is y-monotone? L L y-monotone but not x-monotone polygon 18 Property of monotone polygons Definition: a ertex is an interior cusp iff it is a concae ertex whose adjacent ertices are both at or aboe (at or below) line L. L Theorem: If a polygon P has no interior cusps with respect to a line L, then it is monotone with respect to L. Proof sketch: partition P into two chains connecting the top and bottom ertices. Assume one of them is not monotone with respect to L. Then P must contain an interior cusp aboe or below. 19 3

4 Triangulating a y-monotone y polygon Sweep the polygon from top to bottom. Greedily triangulate anything possible aboe the sweep line, and then forget about this region. When procesing a ertex, the unhandled region aboe it always has a simple structure: Two y-monotone (left and right) chains, each containing at least one edge. If a chain consists of two or more edges, it is reflex, and the other chain consists of a single edge whose bottom endpoint has not been handled yet. Each diagonal is added in O(1) time. 20 Triangulating a Y-monotone Y polygon Continue sweeping while one chain contains only one edge, left chain while the other edge is concae. When a conex edge appears in the concae chain (or a second edge appears in the other one), triangulate as much as possible using a fan. Time complexity: O(k), where k is the complexity of the polygon. bottom right chain top 21 Stack operations on chains Monotone polygon triangulation Y-monotone polygons Vertex classification Polygon ertices classification: A start (resp., end) ertex is a ertex whose interior angle is less than π and its two neighboring ertices both lie below (resp., aboe) it. A split (resp., merge) ertex is a ertex whose interior angle is greater than π and its two neighboring ertices both lie below (resp., aboe) it. All other ertices are regular. split start merge end regular

5 Y-monotone polygons: properties Theorem: A polygon without split start and merge ertices is y-monotone. Proof: Since there are only merge start/end/regular ertices, the polygon must consist of two y-monotone chains. split Alternatiely, do a case analysis. To partition a polygon to monotone pieces, eliminate split (merge) ertices by adding diagonals upward (downward) from the ertex. Naturally, the diagonals must not intersect! end regular Split and merge ertices Classify all ertices. Sweep the polygon from top to bottom. Maintain the edges intersected by the sweep line L sorted by x coordinate). Maintain ertex eents in an eent queue Q sorted by y coordinate. Eliminate split/merge ertices by connecting them to other ertices. For each edge e, define helper(e) as the lowest ertex (seen so far) aboe the sweep line isible to the right of the edge. helper(e) is initialized by the upper endpoint of e. helper(e j ) e j i e k e i-1 e i 28 (cont.) A split ertex may be connected to the helper ertex of the edge immediately to its left. Howeer, a merge ertex should be connected to a ertex which has not been processed yet! Cleer idea: Eery merge ertex is the helper of some edge, and will be handled when this edge terminates. e j helper(e j ) i e i i e j helper(e j ) e k e k m 29 algorithm Input: A counterclockwise ordered list of ertices. The edge e i immediately follows the ertex i. Construct Q on the ertices of P using y-coordinates. (when two or more ertices hae the same y-coordinates, the ertex with the smaller x-coordinate has priority.) Initialize L to be empty. While Q is not empty: Pop ertex ; Handle. Note: No new eents are generated during execution. Handling a start ertex i : Adde i to L helper(e i ) i e 1 e 3 3 e e 9 9 e 8 e e e No split/merge ertex remains unhandled

6 Handling an end ertex i : If helper(e i-1 ) is a merge ertex, then connect i to helper(e i-1 ) Remoe e i-1 from L e 3 3 e 2 e e 9 e 8 9 e e e Handling a split ertex i : Find in L the edge e j directly to the left of i Connect i to helper(e j ) helper(e j ) i Insert e i into L helper(e i ) i e 3 3 e 2 e e 9 9 e 8 e e 5 e Handling a merge ertex i : If helper(e i-1 ) is a merge ertex, then connect i to helper(e i-1 ) Remoe e i-1 from L Find in L the edge e j directly to the left of i If helper(e j ) is a merge ertex, then connect i to helper(e j ) helper(e j ) i e 3 3 e 2 e e 9 e8 e e 6 e Handling a regular ertex i : If the polygon s interior lies to the left of i then: Find in L the edge e j directly to the left of i If helper(e j ) is a merge ertex, then connect i to helper(e j ) helper(e j ) i Else: If helper(e i-1 ) is a merge ertex, then connect i to helper(e i-1 ) Remoe e i-1 from L Insert e i into L helper(e i ) i 2 7 e 6 35 Monotone polygon algorithm Eent handling (1)

7 Eent handling (2) Example Time complexity of polygon triangulation Partitioning the polygon into monotone pieces: O(n log n) Triangulating all the monotone pieces: O(n) Total: O(n log n) 40 Trapezoidal decomposition Decompose a polygon ito trapezoids with two edges perpendicular to a gie line. Trapezoids are triially triangulated BUT we need new intermediate ertices. Useful for point search and other tasks. Obtained directly from a sweep line algorithm: at each ertex, compute the new supporting ertices left and right. Close trapezoids according to neighborhood relations. 41 Conex partitioning Problem: partition a polygon P into a small (fewest) number of conex pieces. Possibilities: Use only ertices of P Use only ertices on edges of P Use new internal ertices (Steiner points) Theorem: The smallest number of conex pieces λ that is needed to partition P is: r/2 + 1 λ r + 1 where r is the number of concae ertices. 42 Hertl and Melhorn algorithm Idea: triangulate polygon, then remoe non-essential diagonals. A diagonal is nonessential if its remoal creates non-conexities. Note: only concae ertices hae essential diagonals! Complexity: O(n log n) for triangulation. Is this strategy optimal? NO! Theorem: the number of pieces is neer worse than four times the optimal. 43 7

8 Other results Optimal O(n) triangulation algorithm [Chazelle 1991] Finding the minimum number of guards for a simple polygon is NP-hard [Aggarwal, 1984]. 3D ersion: find a tetrahedrization of a simple polyhedra. Not always possible without introducing new ertices! The decision problem (are new ertices necessary?) Is NP-complete. Algorithm runs in O(nr + r 2 log r) time [Chazelle and Palios, 1990]. 44 8

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

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

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

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

Lecture 3: Art Gallery Problems and Polygon Triangulation

Lecture 3: Art Gallery Problems and Polygon Triangulation EECS 396/496: Computational Geometry Fall 2017 Lecture 3: Art Gallery Problems and Polygon Triangulation Lecturer: Huck Bennett In this lecture, we study the problem of guarding an art gallery (specified

More information

Polygon Partitioning. Lecture03

Polygon Partitioning. Lecture03 1 Polygon Partitioning Lecture03 2 History of Triangulation Algorithms 3 Outline Monotone polygon Triangulation of monotone polygon Trapezoidal decomposition Decomposition in monotone mountain Convex decomposition

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

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

Computational Geometry [csci 3250]

Computational Geometry [csci 3250] Computational Geometry [csci 3250] Laura Toma Bowdoin College Polygon Triangulation Polygon Triangulation The problem: Triangulate a given polygon. (output a set of diagonals that partition the polygon

More information

Polygon Triangulation

Polygon Triangulation Polygon Triangulation The problem: Triangulate a given polygon. (output a set of diagonals that partition the polygon into triangles). Computational Geometry [csci 3250] Polygon Triangulation Laura Toma

More information

MISCELLANEOUS SHAPES

MISCELLANEOUS SHAPES MISCELLANEOUS SHAPES 4.1. INTRODUCTION Five generic shapes of polygons have been usefully distinguished in the literature: convex, orthogonal, star, spiral, and monotone. 1 Convex polygons obviously do

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

Quadrilateral Meshes with Provable Angle Bounds

Quadrilateral Meshes with Provable Angle Bounds Quadrilateral Meshes with Proable Angle Bounds F. Betul Atalay Suneeta Ramaswami Dianna Xu March 3, 2011 Abstract In this paper, we present an algorithm that utilizes a quadtree data structure to construct

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

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

Ma/CS 6b Class 26: Art Galleries and Politicians Ma/CS 6b Class 26: Art Galleries and Politicians By Adam Sheffer The Art Gallery Problem Problem. We wish to place security cameras at a gallery, such that they cover it completely. Every camera can cover

More information

Visibility Analysis for Video Surveillance

Visibility Analysis for Video Surveillance Volume-6, Issue-4, July-August 2016 International Journal of Engineering and Management Research Page Number: 225-229 Visibility Analysis for Video Surveillance K. Sumalatha 1, Mr. M. Sreenath Reddy, M.E

More information

Professor: Padraic Bartlett. Lecture 9: Trees and Art Galleries. Week 10 UCSB 2015

Professor: Padraic Bartlett. Lecture 9: Trees and Art Galleries. Week 10 UCSB 2015 Math 7H Professor: Padraic Bartlett Lecture 9: Trees and Art Galleries Week 10 UCSB 2015 1 Prelude: Graph Theory This talk uses the mathematical concepts of graphs from our previous class. In particular,

More information

Art Gallery Theorems and Algorithms

Art Gallery Theorems and Algorithms Art Gallery Art Gallery Theorems and Algorithms Daniel G. Aliaga Computer Science Department Purdue University Problem: determine the minimum number of guards sufficient to cover the interior of an n-wall

More information

The Art Gallery Problem

The Art Gallery Problem The Art Gallery Problem Imagine an art gallery whose floor plan is a simple polygon, and a guard (a point) inside the gallery. Computational Geometry [csci 3250] The Art Gallery Problem Laura Toma Bowdoin

More information

AMS 345/CSE 355 Computational Geometry

AMS 345/CSE 355 Computational Geometry AMS 345/CSE 355 Computational Geometry Lecture: Polygons, Guarding Joe Mitchell Do You Like Puzzles? Come to the new Stony Brook Puzzle Society Meets: Friday 1:05-2:30 pm at CSE 2120 Organizer: Pramod

More information

Computational Geometry [csci 3250]

Computational Geometry [csci 3250] Computational Geometry [csci 3250] Laura Toma Bowdoin College The Art Gallery Problem The Art Gallery Problem Imagine an art gallery whose floor plan is a simple polygon, and a guard (a point) inside the

More information

Algorithms. Daniel G. Aliaga. Computer Science Department Purdue University

Algorithms. Daniel G. Aliaga. Computer Science Department Purdue University Art Gallery Theorems and Algorithms Daniel G. Aliaga Computer Science Department Purdue University Art Gallery Problem: determine the minimum number of guards sufficient to cover the interior of an n-wall

More information

Projects & Polygon Triangulation

Projects & Polygon Triangulation Computational Geometry Lecture Projects & INSTITUTE FOR THEORETICAL INFORMATICS FACULTY OF INFORMATICS Tamara Mchedlidze Darren Strash 02.11.2015 1 Projects 2 Project Specifications Groups: 2 or 3 students,

More information

Quadrilateral Meshes with Bounded Minimum Angle

Quadrilateral Meshes with Bounded Minimum Angle Quadrilateral Meshes with Bounded Minimum Angle F. Betul Atalay 1, Suneeta Ramaswami 2,, and Dianna Xu 3 1 St. Joseph s Uniersity, Philadelphia, PA. fatalay@sju.edu 2 Rutgers Uniersity, Camden, NJ. rsuneeta@camden.rutgers.edu

More information

Quadrilateral Meshes with Bounded Minimum Angle

Quadrilateral Meshes with Bounded Minimum Angle Quadrilateral Meshes with Bounded Minimum Angle Betul Atalay Suneeta Ramaswami Dianna Xu June 17, 2008 Abstract In this paper, we present an algorithm that utilizes a quadtree data structure to construct

More information

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

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

More information

Lecture 4: Trees and Art Galleries

Lecture 4: Trees and Art Galleries Math 7H: Honors Seminar Professor: Padraic Bartlett Lecture 4: Trees and Art Galleries Week 2 UCSB 2014 1 Prelude: Graph Theory In this talk, we re going to refer frequently to things called graphs and

More information

Week 2 Polygon Triangulation

Week 2 Polygon Triangulation Week 2 Polygon Triangulation What is a polygon? Last week A polygonal chain is a connected series of line segments A closed polygonal chain is a polygonal chain, such that there is also a line segment

More information

Recognizing Weakly Simple Polygons

Recognizing Weakly Simple Polygons 1 2 Recognizing Weakly Simple Polygons Hugo A. Akitaya Greg Aloupis Jeff Erickson Csaba D. Tóth 3 4 5 6 7 Abstract We present an O(n log n)-time algorithm that determines whether a gien n-gon in the plane

More information

Polygon Triangulation

Polygon Triangulation Polygon Triangulation Definition Simple Polygons 1. A polygon is the region of a plane bounded by a finite collection of line segments forming a simple closed curve. 2. Simple closed curve means a certain

More information

Orthogonal range searching. Orthogonal range search

Orthogonal range searching. Orthogonal range search CG Lecture Orthogonal range searching Orthogonal range search. Problem definition and motiation. Space decomposition: techniques and trade-offs 3. Space decomposition schemes: Grids: uniform, non-hierarchical

More information

Trapezoidal Maps. Notes taken from CG lecture notes of Mount (pages 60 69) Course page has a copy

Trapezoidal Maps. Notes taken from CG lecture notes of Mount (pages 60 69) Course page has a copy Trapezoidal Maps Notes taken from CG lecture notes of Mount (pages 60 69) Course page has a copy Trapezoidal Maps S={s 1,s 2,..., s n } is the set of line segments segments don t intersect, but can touch

More information

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

The Art Gallery Problem: An Overview and Extension to Chromatic Coloring and Mobile Guards The Art Gallery Problem: An Overview and Extension to Chromatic Coloring and Mobile Guards Nicole Chesnokov May 16, 2018 Contents 1 Introduction 2 2 The Art Gallery Problem 3 2.1 Proof..................................

More information

Hidden Line and Surface

Hidden Line and Surface Copyright@00, YZU Optimal Design Laboratory. All rights resered. Last updated: Yeh-Liang Hsu (00--). Note: This is the course material for ME550 Geometric modeling and computer graphics, Yuan Ze Uniersity.

More information

Fixed Parameter Algorithms for Minimum Weight Partitions

Fixed Parameter Algorithms for Minimum Weight Partitions Fixed Parameter lgorithms for Minimum Weight Partitions Christian orgelt, Magdalene Grantson, and Christos Lecopoulos bstract In this paper we propose to sole two hard geometric optimization problems:

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

Triangulation by Ear Clipping

Triangulation by Ear Clipping Triangulation by Ear Clipping David Eberly, Geometric Tools, Redmond WA 98052 https://www.geometrictools.com/ This work is licensed under the Creative Commons Attribution 4.0 International License. To

More information

Ma/CS 6b Class 11: Kuratowski and Coloring

Ma/CS 6b Class 11: Kuratowski and Coloring Ma/CS 6b Class 11: Kuratowski and Coloring By Adam Sheffer Kuratowski's Theorem Theorem. A graph is planar if and only if it does not have K 5 and K 3,3 as topological minors. We know that if a graph contains

More information

Windrose Planarity: Embedding Graphs with Direction-Constrained Edges

Windrose Planarity: Embedding Graphs with Direction-Constrained Edges Windrose Planarity: Embedding Graphs with Direction-Constrained Edges Patrizio Angelini Giordano Da Lozzo Giuseppe Di Battista Valentino Di Donato Philipp Kindermann Günter Rote Ignaz Rutter Abstract Gien

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

The Art Gallery Problem

The Art Gallery Problem The Art Gallery Problem Connor Bohlken Nebraska Wesleyan University cbohlken@nebrwesleyan.edu May 11, 2016 Abstract Given a polygonal art gallery of n vertices, how many security guards are necessary to

More information

Generalized kernels of polygons under rotation

Generalized kernels of polygons under rotation Generalized kernels of polygons under rotation David Orden 1, Leonidas Palios 2, Carlos Seara 3, and Paweł Żyliński 4 1 Departamento de Física y Matemáticas, Universidad de Alcalá, Spain david.orden@uah.es

More information

1. Meshes. D7013E Lecture 14

1. Meshes. D7013E Lecture 14 D7013E Lecture 14 Quadtrees Mesh Generation 1. Meshes Input: Components in the form of disjoint polygonal objects Integer coordinates, 0, 45, 90, or 135 angles Output: A triangular mesh Conforming: A triangle

More information

Data Structures (CS 1520) Lecture 28 Name:

Data Structures (CS 1520) Lecture 28 Name: Traeling Salesperson Problem (TSP) -- Find an optimal (ie, minimum length) when at least one exists A (or Hamiltonian circuit) is a path from a ertex back to itself that passes through each of the other

More information

Line Arrangement. Chapter 6

Line Arrangement. Chapter 6 Line Arrangement Chapter 6 Line Arrangement Problem: Given a set L of n lines in the plane, compute their arrangement which is a planar subdivision. Line Arrangements Problem: Given a set L of n lines

More information

Geometric Streaming Algorithms with a Sorting Primitive (TR CS )

Geometric Streaming Algorithms with a Sorting Primitive (TR CS ) Geometric Streaming Algorithms with a Sorting Primitive (TR CS-2007-17) Eric Y. Chen School of Computer Science University of Waterloo Waterloo, ON N2L 3G1, Canada, y28chen@cs.uwaterloo.ca Abstract. We

More information

The Touring Polygons Problem (TPP)

The Touring Polygons Problem (TPP) The Touring Polygons Problem (TPP) [Dror-Efrat-Lubiw-M]: Given a sequence of k polygons in the plane, a start point s, and a target point, t, we seek a shortest path that starts at s, visits in order each

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

Orthogonal art galleries with holes: a coloring proof of Aggarwal s Theorem

Orthogonal art galleries with holes: a coloring proof of Aggarwal s Theorem Orthogonal art galleries with holes: a coloring proof of Aggarwal s Theorem Pawe l Żyliński Institute of Mathematics University of Gdańsk, 8095 Gdańsk, Poland pz@math.univ.gda.pl Submitted: Sep 9, 005;

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

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

Data Structures (CS 1520) Lecture 28 Name:

Data Structures (CS 1520) Lecture 28 Name: Traeling Salesperson Problem (TSP) -- Find an optimal (ie, minimum length) when at least one exists A (or Hamiltonian circuit) is a path from a ertex back to itself that passes through each of the other

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

Week 9-10: Connectivity

Week 9-10: Connectivity Week 9-0: Connectiity October 3, 206 Vertex Connectiity Let G = (V, E) be a graph. Gien two ertices x, y V. Two (x, y)-path are said to be internally disjoint if they hae no internal ertices in common.

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 O Rourke Chapter 7 Search & Intersection Chapter 7 Search & Intersection Segment-Segment Intersection

More information

On Plane Constrained Bounded-Degree Spanners

On Plane Constrained Bounded-Degree Spanners Algorithmica manscript No. (ill be inserted by the editor) 1 On Plane Constrained Bonded-Degree Spanners 2 3 Prosenjit Bose Rolf Fagerberg André an Renssen Sander Verdonschot 4 5 Receied: date / Accepted:

More information

Monotone crossing number

Monotone crossing number Monotone crossing number János Pach and Géza Tóth Rényi Institute, Budapest Abstract The monotone crossing number of G is defined as the smallest number of crossing points in a drawing of G in the plane,

More information

arxiv: v1 [cs.cg] 14 Apr 2014

arxiv: v1 [cs.cg] 14 Apr 2014 Complexity of Higher-Degree Orthogonal Graph Embedding in the Kandinsky Model arxi:1405.23001 [cs.cg] 14 Apr 2014 Thomas Bläsius Guido Brückner Ignaz Rutter Abstract We show that finding orthogonal grid-embeddings

More information

Planar Point Location

Planar Point Location C.S. 252 Prof. Roberto Tamassia Computational Geometry Sem. II, 1992 1993 Lecture 04 Date: February 15, 1993 Scribe: John Bazik Planar Point Location 1 Introduction In range searching, a set of values,

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

Week 3 Polygon Triangulation

Week 3 Polygon Triangulation 1 Week 3 Polygon Triangulation 2 Polygon A polygon is the region of a plane bounded by a fnite collection of line segments forming a simple closed curve. The intersection of adjacent segments is the shared

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

Combinatorics of Beacon-based Routing in Three Dimensions

Combinatorics of Beacon-based Routing in Three Dimensions Combinatorics of Beacon-based Routing in Three Dimensions Jonas Cleve [0000 0001 8480 1726] ( ) and Wolfgang Mulzer [0000 0002 1948 5840] Institut für Informatik, Freie Universität Berlin, Berlin, Germany

More information

The Geometry of Carpentry and Joinery

The Geometry of Carpentry and Joinery The Geometry of Carpentry and Joinery Pat Morin and Jason Morrison School of Computer Science, Carleton University, 115 Colonel By Drive Ottawa, Ontario, CANADA K1S 5B6 Abstract In this paper we propose

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

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

CS 548: COMPUTER GRAPHICS REVIEW: OVERVIEW OF POLYGONS SPRING 2015 DR. MICHAEL J. REALE

CS 548: COMPUTER GRAPHICS REVIEW: OVERVIEW OF POLYGONS SPRING 2015 DR. MICHAEL J. REALE CS 548: COMPUTER GRPHICS REVIEW: OVERVIEW OF POLYGONS SPRING 05 DR. MICHEL J. RELE NOTE: COUNTERCLOCKWISE ORDER ssuming: Right-handed sstem Vertices in counterclockwise order looking at front of polgon

More information

Mesh Generation. Quadtrees. Geometric Algorithms. Lecture 9: Quadtrees

Mesh Generation. Quadtrees. Geometric Algorithms. Lecture 9: Quadtrees Lecture 9: Lecture 9: VLSI Design To Lecture 9: Finite Element Method To http://www.antics1.demon.co.uk/finelms.html Lecture 9: To Lecture 9: To component not conforming doesn t respect input not well-shaped

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

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

Computational Geometry

Computational Geometry Lecture 1: Introduction and convex hulls Geometry: points, lines,... Geometric objects Geometric relations Combinatorial complexity Computational geometry Plane (two-dimensional), R 2 Space (three-dimensional),

More information

Guard Placement For Wireless Localization

Guard Placement For Wireless Localization Guard Placement For Wireless Localization David Eppstein Michael T. Goodrich Nodari Sitchinava Computer Science Dept., UC Irvine Guard Placement For Wireless Localization p. 1/1 Motivating example: Cyber-Café

More information

CS133 Computational Geometry

CS133 Computational Geometry CS133 Computational Geometry Voronoi Diagram Delaunay Triangulation 5/17/2018 1 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,

More information

Degree Constrained Triangulation

Degree Constrained Triangulation UNLV Theses, Dissertations, Professional Papers, and Capstones 8-1-2012 Degree Constrained Triangulation Roshan Gyawali University of Nevada, Las Vegas, roshangyawali@gmail.com Follow this and additional

More information

Computational Geometry

Computational Geometry Casting a polyhedron CAD/CAM systems CAD/CAM systems allow you to design objects and test how they can be constructed Many objects are constructed used a mold Casting Casting A general question: Given

More information

[Ba] Bykat, A., Convex hull of a finite set of points in two dimensions, Info. Proc. Lett. 7 (1978),

[Ba] Bykat, A., Convex hull of a finite set of points in two dimensions, Info. Proc. Lett. 7 (1978), [Ba] Bykat, A., Convex hull of a finite set of points in two dimensions, Info. Proc. Lett. 7 (1978), 296-298. [Ch] [CI] [EET] [ET] [FM] [GJPT] [Gr] [HM] [KKT] Chazelle, B., A theorem on polygon cutting

More information

Solving Art Gallery Problem with Triangulation and Graph Coloring

Solving Art Gallery Problem with Triangulation and Graph Coloring Solving Art Gallery Problem with Triangulation and Graph Coloring Ensof Barhami 13516096 Program Studi Teknik Informatika Sekolah Teknik Elektro dan Informatika Institut Teknologi Bandung, Jl. Ganesha

More information

Solutions to problem set 1

Solutions to problem set 1 Massachusetts Institute of Technology Handout 5 6.838: Geometric Computation October 4, 2001 Professors Piotr Indyk and Seth Teller Solutions to problem set 1 (mostly taken from the solution set of Jan

More information

Visibilty: Finding the Staircase Kernel in Orthogonal Polygons

Visibilty: Finding the Staircase Kernel in Orthogonal Polygons American Journal of Computational and Applied Mathematics 2012, 2(2): 17-24 DOI: 10.5923/j.ajcam.20120202.04 Visibilty: Finding the Staircase Kernel in Orthogonal Polygons Stefan A. Pape, Tzvetalin S.

More information

Visibility: Finding the Staircase Kernel in Orthogonal Polygons

Visibility: Finding the Staircase Kernel in Orthogonal Polygons Visibility: Finding the Staircase Kernel in Orthogonal Polygons 8 Visibility: Finding the Staircase Kernel in Orthogonal Polygons Tzvetalin S. Vassilev, Nipissing University, Canada Stefan Pape, Nipissing

More information

U4 Polygon Notes January 11, 2017 Unit 4: Polygons

U4 Polygon Notes January 11, 2017 Unit 4: Polygons Unit 4: Polygons 180 Complimentary Opposite exterior Practice Makes Perfect! Example: Example: Practice Makes Perfect! Def: Midsegment of a triangle - a segment that connects the midpoints of two sides

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

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

An Implementation of a Near-Linear Polygon Triangulation Algorithm for General Polygons

An Implementation of a Near-Linear Polygon Triangulation Algorithm for General Polygons An Implementation of a Near-Linear Polygon Triangulation Algorithm for General Polygons Abstract In 1991 Seidel found a practical algorithm for triangulating simple polygons with an expected running time

More information

Advanced Algorithm Homework 4 Results and Solutions

Advanced Algorithm Homework 4 Results and Solutions Advanced Algorithm Homework 4 Results and Solutions ID 1 2 3 4 5 Av Ex 2554 6288 9919 10 6 10 10 9.5 8.9 10-1 4208 10 10 9 8.5 10 9.5 9 0996 10 10 10 10 10 10 10 8239 10 10 10 10 10 10 10 7388 8 8.5 9

More information

GEOMETRIC SEARCHING PART 1: POINT LOCATION

GEOMETRIC SEARCHING PART 1: POINT LOCATION GEOMETRIC SEARCHING PART 1: POINT LOCATION 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 3.10.2014 Geometric

More information

Convex Polygon Generation

Convex Polygon Generation Convex Polygon Generation critterai.org /projects/nmgen_study/polygen.html This page describes the forth stage in building a navigation mesh, the generation of convex polygons from the simple polygons

More information

Partitioning Orthogonal Polygons by Extension of All Edges Incident to Reflex Vertices: lower and upper bounds on the number of pieces

Partitioning Orthogonal Polygons by Extension of All Edges Incident to Reflex Vertices: lower and upper bounds on the number of pieces Partitioning Orthogonal Polygons by Extension of All Edges Incident to Reflex Vertices: lower and upper bounds on the number of pieces António Leslie Bajuelos 1, Ana Paula Tomás and Fábio Marques 3 1 Dept.

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

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

1 Matchings in Graphs

1 Matchings in Graphs Matchings in Graphs J J 2 J 3 J 4 J 5 J J J 6 8 7 C C 2 C 3 C 4 C 5 C C 7 C 8 6 J J 2 J 3 J 4 J 5 J J J 6 8 7 C C 2 C 3 C 4 C 5 C C 7 C 8 6 Definition Two edges are called independent if they are not adjacent

More information

Week 7 Convex Hulls in 3D

Week 7 Convex Hulls in 3D 1 Week 7 Convex Hulls in 3D 2 Polyhedra A polyhedron is the natural generalization of a 2D polygon to 3D 3 Closed Polyhedral Surface A closed polyhedral surface is a finite set of interior disjoint polygons

More information

Practical Linear Algebra: A Geometry Toolbox

Practical Linear Algebra: A Geometry Toolbox Practical Linear Algebra: A Geometry Toolbox Third edition Chapter 18: Putting Lines Together: Polylines and Polygons Gerald Farin & Dianne Hansford CRC Press, Taylor & Francis Group, An A K Peters Book

More information

Coverage Approximation Algorithms

Coverage Approximation Algorithms DATA MINING LECTURE 12 Coverage Approximation Algorithms Example Promotion campaign on a social network We have a social network as a graph. People are more likely to buy a product if they have a friend

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

On Plane Constrained Bounded-Degree Spanners

On Plane Constrained Bounded-Degree Spanners On Plane Constrained Bonded-Degree Spanners Prosenjit Bose 1, Rolf Fagerberg 2, André an Renssen 1, Sander Verdonschot 1 1 School of Compter Science, Carleton Uniersity, Ottaa, Canada. Email: jit@scs.carleton.ca,

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

Convex Hulls in Three Dimensions. Polyhedra

Convex Hulls in Three Dimensions. Polyhedra Convex Hulls in Three Dimensions Polyhedra Polyhedron 1.A polyhedron is the generalization of a 2- D polygon to 3-D A finite number of flat polygonal faces The boundary or surface of a polyhedron - Zero-dimensional

More information

Convex partitioning of a polygon into smaller number of pieces with lowest memory consumption

Convex partitioning of a polygon into smaller number of pieces with lowest memory consumption Ceylon Journal of Science 46(1) 2017: 55-66 DOI: http://doi.org/10.4038/cjs.v46i1.7418 RESEARCH ARTICLE Convex partitioning of a polygon into smaller number of pieces with lowest memory consumption K.

More information

Quadtrees and Meshing

Quadtrees and Meshing Computational Geometry Lecture INSTITUT FÜR THEORETISCHE INFORMATIK FAKULTÄT FÜR INFORMATIK Tamara Mchedlidze Darren Strash 14.12.2015 Motivation: Meshing PC Board Layouts To simulate the heat produced

More information