Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Does a point lie inside a polygon

Conference · · Transactions of the American Nuclear Society; (USA)
OSTI ID:5433103

A superficially simple problem in computational geometry is that of determining whether a query point P lies in the interior of a polygon if it lies in the polygon's plane. Answering this question is often required when tracking particles in a Monte Carlo program; it is asked frequently and an efficient algorithm is crucial. Littlefield has recently rediscovered Shimrat's algorithm, while in separate works, Wooff, Preparata and Shamos and Mehlhorn, as well as Yamaguchi, give other algorithms. A practical algorithm answering this question when the polygon's plane is skewed in space is not immediately evident from most of these methods. Additionally, all but one fails when two sides extend to infinity (open polygons). In this paper the author review the above methods and present a new, efficient algorithm, valid for all convex polygons, open or closed, and topologically connected in n-dimensional space (n {ge} 2).

OSTI ID:
5433103
Report Number(s):
CONF-881011--
Journal Information:
Transactions of the American Nuclear Society; (USA), Journal Name: Transactions of the American Nuclear Society; (USA) Vol. 57; ISSN TANSA; ISSN 0003-018X
Country of Publication:
United States
Language:
English

Similar Records

Theorems on tessellations by polygons
Journal Article · Mon Jun 30 00:00:00 EDT 2003 · Sbornik. Mathematics · OSTI ID:21208318

Parallel algorithms for separation of two sets of points and recognition of digital convex polygons
Journal Article · Tue Mar 31 23:00:00 EST 1992 · International Journal of Parallel Programming; (United States) · OSTI ID:7279706

Optimal placement of convex polygons to maximize point containment
Conference · Mon Dec 30 23:00:00 EST 1996 · OSTI ID:416792