The original function assumes all triangles are ordered such that their normals point outwards. This modified function makes no such assumption, but rather accepts a third parameter - the desired normals.
Dimid Duchovny (2021). Volume of a triangulated surface mesh (https://www.mathworks.com/matlabcentral/fileexchange/37742-volume-of-a-triangulated-surface-mesh), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Volume of a surface triangulation
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!