tetrahedron_contains_point
tetrahedron_contains_point(points, a, b, c, d, e) ⇒ boolean
Containment test, whether tetrahedron defined by A,B,C,D contains point E or not Implemented using planar tests on each of side of the tetrahedron
NOTE: similar to https://gitlab.onelab.info/gmsh/gmsh/-/blob/master/contrib/hxt/tetMesh/src/HXTSPR.c We skip identity checks and bounding box checks. Identity is a waste of time when building tetrahedral mesh, since each inserted point will be new to the mesh, box checks are not relevant as we don't track those
Kind: global function
Param | Type |
---|---|
points | Array.<number> |
a | number |
b | number |
c | number |
d | number |
e | number |