isPointin3Dtriangle

Function to check if a point P belongs to a given ABC triangle in 3D, boundary included. Overloaded for arrays of points.

https://github.com/NicolasDouillet/ispointin3Dtriangle

You are now following this Submission

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 .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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.