isPointin3Dtriangle

Function to check if a point P belongs to a given ABC triangle in 3D, boundary included. Overloaded for arrays of points.
0 Downloads
Updated 23 Sep 2025
Check the test file for an example.
epsilon, the geometric precision parameter, -though optional- matters for good result.
It should be function of the precision of your computer (Matlab eps command).
Once downloaded, typewrite help ispointin3Dtriangle in Matlab console for support.
See also :
Please don't forget to rate it, if this code helped you. Thanks ;-)

Cite As

Nicolas Douillet (2026). isPointin3Dtriangle (https://github.com/NicolasDouillet/ispointin3Dtriangle/releases/tag/v1.0), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.