Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
Calculate the distance of a given point P from a triangle TRI.
Point P is a row vector of the form 1x3. The triangle is a matrix
formed by three rows of points TRI = [P1;P2;P3] each of size 1x3.
dist = pointTriangleDistance(TRI,P) returns the distance of the point P to the triangle TRI.
[dist,PP0] = pointTriangleDistance(TRI,P) additionally returns the closest point PP0 to P on the triangle TRI.
Citation pour cette source
Gwendolyn Fischer (2026). Distance between a point and a triangle in 3D (https://fr.mathworks.com/matlabcentral/fileexchange/22857-distance-between-a-point-and-a-triangle-in-3d), MATLAB Central File Exchange. Extrait(e) le .
Remerciements
A inspiré : GJK algorithm distance of closest points in 3D
Informations générales
- Version 1.6.0.0 (2,99 ko)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.6.0.0 | Bug Fix due to yet another typo. |
||
| 1.5.0.0 | Bug Fix because of typo. Thanks to Gordon. |
||
| 1.1.0.0 | Fixed a Bug spotted by Jorge Riera |
||
| 1.0.0.0 |
