Regular Article
A Pedestrian Approach to Ray Shooting: Shoot a Ray, Take a Walk

https://doi.org/10.1006/jagm.1995.1017Get rights and content

Abstract

We propose a very simple ray-shooting algorithm, whose only data structure is a triangulation. The query algorithm, after locating the triangle containing the origin of the ray, walks along the ray, advancing from one triangle to a neighboring one until the polygon boundary is reached. The key result of the paper is a Steiner triangulation of a simple polygon with the property that a ray can intersect at most O(log n) triangles before reaching the polygon boundary. We are able to compute such a triangulation in linear sequential time, or in O(log n) parallel time using O(n/log n) processors. This gives a simple, yet optimal, ray-shooting algorithm for a simple polygon. Using a well-known technique, we can extend our triangulation procedure to a multiconnected polygon with k components and n vertices, so that a ray intersects at most O(√k log n) triangles.

References (0)

Cited by (137)

  • Maximum-area and maximum-perimeter rectangles in polygons

    2021, Computational Geometry: Theory and Applications
  • On Romeo and Juliet problems: Minimizing distance-to-sight

    2019, Computational Geometry: Theory and Applications
  • Altitude terrain guarding and guarding uni-monotone polygons

    2019, Computational Geometry: Theory and Applications
  • Computing Instance-Optimal Kernels in Two Dimensions

    2024, Discrete and Computational Geometry
  • Computing Instance-Optimal Kernels in Two Dimensions

    2023, Leibniz International Proceedings in Informatics, LIPIcs
View all citing articles on Scopus
View full text