This function generates mesh by dividing a triangle into smaller triangles. Example file is included.
[V,F]=Triangle_Mesh(v1,v2,v3,N);
Input:
v1,v2,v3: are vertices vectors of the triangle
N: number of divisions for each side
Output:
V: vertices matrix
F: faces matrix
Citation pour cette source
Ayad Al-Rumaithi (2024). Generate Triangle Mesh (https://www.mathworks.com/matlabcentral/fileexchange/93425-generate-triangle-mesh), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2017b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0 |