isPointin3Dtriangle
Version 1.0 (1.84 KB) by
Nicolas Douillet
Function to check if a point P belongs to a given ABC triangle in 3D, boundary included. Overloaded for arrays of points.
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 (2025). 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 LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| 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.
