You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Tests if points are inside of triangulated volume. There are NO assumptions about orientation of the face normals. The code uses simple algorithm, is fully documented and optimized for speed.
Cite As
Jaroslaw Tuszynski (2026). in_polyhedron (https://www.mathworks.com/matlabcentral/fileexchange/48041-in_polyhedron), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired by: Triangle/Ray Intersection, inpolyhedron - are points inside a triangulated volume?
General Information
- Version 1.2.0.1 (140 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.2.0.1 | improve test for points on the surface |
|
|
| 1.2.0.0 | fixed case when test points are the same as the grid points |
|
|
| 1.1.0.0 | Better icon |
||
| 1.0.0.0 |
|
