Borrar filtros
Borrar filtros

How to calculate volume of Triangulation

12 visualizaciones (últimos 30 días)
Thomas Carron
Thomas Carron el 27 de Nov. de 2023
Respondida: Nivedita el 8 de Dic. de 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.

Respuestas (1)

Nivedita
Nivedita el 8 de Dic. de 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.

Categorías

Más información sobre Triangulation Representation en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by