triangulationVolume
No License
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.
See example in testTriangulationVolume.m
Cite As
Jeroen Verbunt (2024). triangulationVolume (https://www.mathworks.com/matlabcentral/fileexchange/15221-triangulationvolume), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | Added a simple example to test the code. |