How to calculate volume of Triangulation
17 views (last 30 days)
Show older comments
Hello everyone, I would like to calculate the volume contained in a triangulation that I formed myself, (important for precision, I cannot use alphashape, boundary or convhull) which works with like triangulation function of MATLAB. So I have a matrix of points and a matrix with the list of points which forms triangles.
0 Comments
Answers (1)
Nivedita
on 8 Dec 2023
Hello Thomas,
I understand that you want to calculate the volume contained in a triangulation.
You could try using the function "triangulationVolume" present in the File Exchange: https://in.mathworks.com/matlabcentral/fileexchange/15221-triangulationvolume?requestedDomain=
The function computes the VOLUME and AREA of a closed surface defined by the triangulation in indices "TRI" and coordinates "X", "Y" and "Z", using the divergence theorem of Gauss (volume/surface integral). The unit of the volume equals to UNIT^3 and the unit of the area equals to UNIT^2, with UNIT the unit of the coordinates X,Y,Z. The surface needs to be closed, this is not checked.
I hope it helps!
Regards,
Nivedita.
0 Comments
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!