Function pmp::volume
Defined in File DifferentialGeometry.h
Function Documentation
-
Scalar pmp::volume(const SurfaceMesh &mesh)
Compute the volume of a mesh.
See zhang_2002_efficient for details.
- Throws:
InvalidInputException – if the input precondition is violated.
- Pre:
Input mesh needs to be a pure triangle mesh.