March 20111 Trapezoidal Maps Shmuel Wimer Bar Ilan Univ., School of Engineering.

Slides:



Advertisements
Similar presentations
Two Segments Intersect?
Advertisements

Rahnuma Islam Nishat Debajyoti Mondal Md. Saidur Rahman Graph Drawing and Information Visualization Laboratory Department of Computer Science and Engineering.
Octagonal Drawing Johan van Rooij. Overview What is an octagonal drawing Good slicing graphs Octagonal drawing algorithm for good slicing graphs Correctness.
INTERVAL TREE & SEGMENTATION TREE
Divide and Conquer. Subject Series-Parallel Digraphs Planarity testing.
Efficient access to TIN Regular square grid TIN Efficient access to TIN Let q := (x, y) be a point. We want to estimate an elevation at a point q: 1. should.
Line Segment Intersection. Balanced binary search tree Internal nodes: Rightmost leaf in its left subtree Status Structure T.
Map Overlay Algorithm. Birch forest Wolves Map 1: Vegetation Map 2: Animals.
2/14/13CMPS 3120 Computational Geometry1 CMPS 3120: Computational Geometry Spring 2013 Planar Subdivisions and Point Location Carola Wenk Based on: Computational.
Convex Hull obstacle start end Convex Hull Convex Hull
Visibility Graphs May Shmuel Wimer Bar-Ilan Univ., Eng. Faculty Technion, EE Faculty.
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.
UNC Chapel Hill M. C. Lin Polygon Triangulation Chapter 3 of the Textbook Driving Applications –Guarding an Art Gallery –3D Morphing.
1 Voronoi Diagrams. 2 Voronoi Diagram Input: A set of points locations (sites) in the plane.Input: A set of points locations (sites) in the plane. Output:
Convex Hulls May Shmuel Wimer Bar Ilan Univ., Eng. Faculty Technion, EE Faculty.
Convex Hull Problem Presented By Erion Lin. Outline Convex Hull Problem Voronoi Diagram Fermat Point.
Feb Polygon Triangulation Shmuel Wimer Bar Ilan Univ., School of Engineering.
Quadtrees Raster and vector.
Lecture 7: Voronoi Diagrams Presented by Allen Miu Computational Geometry September 27, 2001.
Computational Geometry -- Voronoi Diagram
17. Computational Geometry Chapter 7 Voronoi Diagrams.
6/2/ :35 AMIncremental Convex Hull1 q w u e zt.
2-dimensional indexing structure
Insert A tree starts with the dummy node D D 200 D 7 Insert D
Space Efficient Point Location forTriangulations.
Point Location Computational Geometry, WS 2007/08 Lecture 5 Prof. Dr. Thomas Ottmann Algorithmen & Datenstrukturen, Institut für Informatik Fakultät für.
Lecture 6: Point Location Computational Geometry Prof. Dr. Th. Ottmann 1 Point Location 1.Trapezoidal decomposition. 2.A search structure. 3.Randomized,
Voronoi Diagrams.
Lecture 11 : More Geometric Data Structures Computational Geometry Prof. Dr. Th. Ottmann 1 Geometric Data Structures 1.Rectangle Intersection 2.Segment.
R-Trees 2-dimensional indexing structure. R-trees 2-dimensional version of the B-tree: B-tree of maximum degree 8; degree between 3 and 8 Internal nodes.
Binary Search Trees. BST Properties Have all properties of binary tree Items in left subtree are smaller than items in any node Items in right subtree.
1 Geometric Intersection Determining if there are intersections between graphical objects Finding all intersecting pairs Brute Force Algorithm Plane Sweep.
UNC Chapel Hill M. C. Lin Point Location Reading: Chapter 6 of the Textbook Driving Applications –Knowing Where You Are in GIS Related Applications –Triangulation.
May Motion Planning Shmuel Wimer Bar Ilan Univ., Eng. Faculty Technion, EE Faculty.
Point Location Dmitry Rusakov Boris Kronrod. Planar Point Location Lets S be a planar subdivision with n edges. The planar point location problem is.
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.
14/13/15 CMPS 3130/6130 Computational Geometry Spring 2015 Windowing Carola Wenk CMPS 3130/6130 Computational Geometry.
Data Structure & Algorithm II.  Delete-min  Building a heap in O(n) time  Heap Sort.
Mehdi Mohammadi March Western Michigan University Department of Computer Science CS Advanced Data Structure.
Orthogonal Range Search
Arrangements and Duality Sanjay Sthapit Comp290 10/6/98.
Multi-dimensional Search Trees CS302 Data Structures Modified from Dr George Bebis.
HeapSort 25 March HeapSort Heaps or priority queues provide a means of sorting: 1.Construct a heap, 2.Add each item to it (maintaining the heap.
Lecture 15 Computational Geometry Geometry sweeping Geometric preliminaries Some basics geometry algorithms.
February 17, 2005Lecture 6: Point Location Point Location (most slides by Sergi Elizalde and David Pritchard)
1 Point Location Strategies Idit Haran
Polygon Triangulation
CS 6310 Advanced Data Structures Tree Structures for Set of Intervals by Halil Ibrahim DURSUNOGLU.
UNC Chapel Hill M. C. Lin Geometric Data Structures Reading: Chapter 10 of the Textbook Driving Applications –Windowing Queries Related Application –Query.
May 2012Range Search Algorithms1 Shmuel Wimer Bar Ilan Univ. Eng. Faculty Technion, EE Faculty.
CSE 554 Lecture 5: Contouring (faster)
6.6 Reasoning about Special Quadrilaterals
6.6 Reasoning about Special Quadrilaterals
Computational Geometry
Geometric Data Structures
Binary Search Tree (BST)
Tonga Institute of Higher Education
KD Tree A binary search tree where every node is a
Segment tree and Interval Tree
Orthogonal Range Searching and Kd-Trees
CMPS 3130/6130 Computational Geometry Spring 2017
ITEC 2620M Introduction to Data Structures
Random inserting into a B+ Tree
Shmuel Wimer Bar Ilan Univ., School of Engineering
Approximating Points by A Piecewise Linear Function: I
Data Structures and Algorithms
CMPS 3130/6130 Computational Geometry Spring 2017
Chapter 20: Binary Trees.
Segment Tree and Its Usage for geometric Computations
Boolean Algebra for CAD Applications
Presentation transcript:

March Trapezoidal Maps Shmuel Wimer Bar Ilan Univ., School of Engineering

March Trapezoidal Map Planar subdivision Abscissas are all distinct n segments 6n+4 vertices at most 3n+1 trapezoids at most

March Trapezoidal map can be constructed in O(nlogn) time by a scan-line algorithm.

March Randomized Incremental Algorithm

March Inner nodes have degree 2 x-node y-node trapezoid

March Does q lie to the left or to the right ? Does q lie above or below? Querying a point location

March Randomized Construction Algorithm

March 20118

9

10

March

March

March New segment insertion

March The information attached to new trapezoids is their left and right neighbor trapezoids, top and bottom segment and points defining their left and right vertical segment. If the information in Δ is properly stored, above info can be determined in a constant time from s i and Δ. Assuming that a point is contained in Δ, the sub tree replacing its leaf is sufficient to determine whether the point is in A, B, C or D. If p i =leftPoint(Δ) and / or q i =rightPoint(Δ), Δ is divided into two or three trapezoids and sub-tree replacement is simpler.

March Intersection with more than one trapezoid

March

March

March

March

March

March

March

March

March

March ■

March Given a set of segments, nothing is guaranteed on the maximal run time, which can be quadratic. Considering all possible problems of n segments, what is the expected maximal query time? O(logn)