version (824 Bytes) by Thomas
Calculate the area of a triangular irregular network


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);

faces - mx3 face indexes of the mesh

points - nx3 vertex data of the mesh

areaTIN - mx1 triangular area measurements matched to face list

Cite As

Thomas (2022). 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!