meshArea.m

Version 1.0.0.0 (824 Bytes) by Thomas Seers
Calculate the area of a triangular irregular network
257 Downloads
Updated 29 Sep 2014

View License

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
Created with R2013b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0