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
Cite As
Thomas Seers (2024). meshArea.m (https://www.mathworks.com/matlabcentral/fileexchange/47957-mesharea-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- 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!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |