1 / 26

Trapezoidal Maps

Trapezoidal Maps. Shmuel Wimer Bar Ilan Univ., School of Engineering. Trapezoidal Map. Planar subdivision. Abscissas are all distinct. n segments 6n+4 vertices at most 3n+1 trapezoids at most. Trapezoidal map can be constructed in O( n log n ) time by a scan-line algorithm.

theoj
Download Presentation

Trapezoidal Maps

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

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

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

  4. Randomized Incremental Algorithm

  5. x-node y-node trapezoid Inner nodes have degree 2

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

  7. Randomized Construction Algorithm

  8. New segment insertion

  9. 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. 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 si and Δ. If pi=leftPoint(Δ) and / or qi=rightPoint(Δ), Δis divided into two or three trapezoids and sub-tree replacement is simpler.

  10. Intersection with more than one trapezoid

  11. 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)

More Related