IntersectPlaneTrian​gle mex

Version 1.2 (20,5 ko) par Mehmet OZTURK
Calculation of intersection between a plane and a triangle
864 téléchargements
Mise à jour 20 nov. 2014

Afficher la licence

Calculation of intersection segment between a plane (defined with a point p0 that lies on the plane and a normal vector n of that plane) and a triangle (defined with its vertices P1, P2 and P3)
N : Normal to plane , |N| = 1, N->(nx3)
Q : Point into the plane, Q->(nx3)

P1,P2,P3 : Triangle vertices, P1,P2,P3->(nx3)

return : 0 if no intersection
U : Intersection points, U->(3x2)

You can use the provided example.m file for usage of this function

Citation pour cette source

Mehmet OZTURK (2026). IntersectPlaneTriangle mex (https://fr.mathworks.com/matlabcentral/fileexchange/32255-intersectplanetriangle-mex), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R14
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Linear Algebra dans Help Center et MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.2

will be available as a Toolbox file

1.1.0.0

will be available as a Toolbox file

1.0.0.0