meshArea.m
Calculate the area of a 3D triangular irregular network (TIN) mesh using the vertex and face list data. Note that most common file formats used to store TIN data (e.g. .obj / .ply) use zero indexing meaning that the face list will need to be converted to non-zero indexing in matlab:
faces = faces+ones(size(faces,1),3);
INPUT:
faces - mx3 face indexes of the mesh
points - nx3 vertex data of the mesh
OUTPUT:
areaTIN - mx1 triangular area measurements matched to face list
Zitieren als
Thomas Seers (2024). meshArea.m (https://www.mathworks.com/matlabcentral/fileexchange/47957-mesharea-m), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Image Processing and Computer Vision > Computer Vision Toolbox > Point Cloud Processing >
- MATLAB > Data Import and Analysis > Data Import and Export > Standard File Formats > Other Formats >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 |