INPOLYHEDRON TEST (Scripts) Publisher's description
from Luigi Giaccari
InPolyedron detects points inside a manifold closed surface (even non convex ones).
InPolyedron detects points inside a manifold closed surface (even non convex ones). The normal orientation is assumed to be outwards. Warning there is no check for closed surface or normal orientation, open surfaces will give nonsense results.
In the limit of numerical accuracy, points lying on the surface will be considered in.
p: points of the surface npx3 array
t: triangles indexes, first points flagged as one, ntx3 array
tnorm: outward normals of traingles, ntx3 array
qp: points to be queried, nqx3 array
in: nqx1 logical vector, true for in, false for out
System Requirements:MATLAB 7.8 (R2009a)
Program Release Status: New Release
Program Install Support: Install and Uninstall