Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/MeshQueries.h |
Include |
#include "MeshQueries.h" |
static double GetVolumeNonWatertight
(
const TriangleMeshType & Mesh,
double DimScaleFactor
)
Get the volume of a mesh using a method that is more robust to inputs with holes
Mesh volume (scaled by DimScaleFactor^3)
Parameter |
Description |
---|---|
Mesh |
Input shape |
DimScaleFactor |
Scale factor to apply to each dimension; useful for keeping volume calculation in a good range for floating point precision |