ptinpoly: Point-in-Polyhedron Test (2D and 3D)

Function pip3d() tests whether a point in 3D space is within, exactly on, or outside an enclosed surface defined by a triangular mesh. Function pip2d() tests whether a point in 2D space is within, exactly on, or outside a polygon. For a reference, see: Liu et al., A new point containment test algorithm based on preprocessing and determining triangles, Computer-Aided Design 42(12):1143-1150.

Version: 2.8
Depends: R (≥ 2.10), misc3d
Suggests: rgl, geometry
Published: 2020-06-02
Author: Jose M. Maisog, Yuan Wang, George Luta, Jianfei Liu
Maintainer: Jose M. Maisog <bravas02 at>
License: GPL-2
NeedsCompilation: yes
CRAN checks: ptinpoly results


Reference manual: ptinpoly.pdf
Package source: ptinpoly_2.8.tar.gz
Windows binaries: r-devel:, r-devel-UCRT:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): ptinpoly_2.8.tgz, r-release (x86_64): ptinpoly_2.8.tgz, r-oldrel: ptinpoly_2.8.tgz
Old sources: ptinpoly archive

Reverse dependencies:

Reverse depends: RadOnc
Reverse imports: curvHDR


Please use the canonical form to link to this page.