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.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("ptinpoly")

2.8 by Jose M. Maisog, 6 years ago


http://ptinpoly.pbworks.com


Browse source code at https://github.com/cran/ptinpoly


Authors: Jose M. Maisog , Yuan Wang , George Luta , Jianfei Liu


Documentation:   PDF Manual  


GPL-2 license


Depends on misc3d

Suggests rgl, geometry


Imported by BoneDensityMapping, FEA, curvHDR, ucie.

Depended on by RadOnc.


See at CRAN