A new point containment test algorithm based on preprocessing and determining triangles

  • Authors:
  • Jianfei Liu;Y. Q. Chen;José M. Maisog;George Luta

  • Affiliations:
  • LTCS, Department of Mechanics and Aerospace Engineering, College of Engineering, Peking University, China;LTCS, Department of Mechanics and Aerospace Engineering, College of Engineering, Peking University, China;The Department of Biostatistics, Bioinformatics and Biomathematics, Georgetown University Medical Center, United States;The Department of Biostatistics, Bioinformatics and Biomathematics, Georgetown University Medical Center, United States

  • Venue:
  • Computer-Aided Design
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper, we revisit the point-in-polyhedron problem. After reviewing previous work, we develop further insight into the problem. We then claim that, for a given testing point and a three-dimensional polyhedron, a single determining triangle can be found which suffices to determine whether the point is inside or outside the polyhedron. This work can be considered to be an extension and implementation of Horn's work, which inspired us to propose a theorem for obtaining determining triangles. Building upon this theorem, algorithms are then presented, implemented, and tested. The results show that although our code has the same asymptotic time efficiency as commonly used octree-based ray crossing methods, in practice it is usually several times and sometimes more than ten times faster, while other costs such as preprocessing time and memory requirements remain the same. The ideas proposed in this paper are simple and general. They thus extend naturally to multi-material models, i.e., polyhedrons subdivided into smaller regions by internal boundaries.