A point inclusion test algorithm for simple polygons

  • Authors:
  • Weishi Li;Eng Teo Ong;Shuhong Xu;Terence Hung

  • Affiliations:
  • Institute of High Performance Computing, Singapore;Institute of High Performance Computing, Singapore;Institute of High Performance Computing, Singapore;Institute of High Performance Computing, Singapore

  • Venue:
  • ICCSA'05 Proceedings of the 2005 international conference on Computational Science and its Applications - Volume Part I
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

An algorithm for testing the relationship of a point and a simple polygon is presented. The algorithm employs a “visible edge” of the polygon from the point to determine whether the point is in the polygon or not according to the relationship of the orientation of the polygon and the triangle formed by the point and the visible edge. The algorithm is efficient and robust for floating point computation.