How to calculate volume of Triangulation

조회 수: 17 (최근 30일)
Thomas Carron
Thomas Carron 2023년 11월 27일
답변: Nivedita 2023년 12월 8일
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.

답변 (1개)

Nivedita
Nivedita 2023년 12월 8일
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.

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by