Effacer les filtres
Effacer les filtres

How to calculate volume of Triangulation

12 vues (au cours des 30 derniers jours)
Thomas Carron
Thomas Carron le 27 Nov 2023
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.

Réponses (1)

Nivedita
Nivedita le 8 Déc 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.

Catégories

En savoir plus sur Triangulation Representation dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by