文件名称:InPolyedron27072009
介绍说明--下载内容均来自于网络,请自行研究使用
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.
Usage
Input:
■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
Output:
■in: nqx1 logical vector, true for in, false for out-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.
Usage
Input:
■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
Output:
■in: nqx1 logical vector, true for in, false for out
In the limit of numerical accuracy, points lying on the surface will be considered in.
Usage
Input:
■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
Output:
■in: nqx1 logical vector, true for in, false for out-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.
Usage
Input:
■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
Output:
■in: nqx1 logical vector, true for in, false for out
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Block_Surface.mat
Cube_Surface.mat
CylinderSurface.mat
InPolyedron.m
InPolyedronTest.m
SphereSurface.mat
StubAxleSurface.mat
TubularCuboidSurface.mat
license.txt
Cube_Surface.mat
CylinderSurface.mat
InPolyedron.m
InPolyedronTest.m
SphereSurface.mat
StubAxleSurface.mat
TubularCuboidSurface.mat
license.txt