Navigation
API > API/Runtime > API/Runtime/GeometryCore > API/Runtime/GeometryCore/TMeshQueries
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/MeshQueries.h |
| Include | #include "MeshQueries.h" |
static double GetVolumeNonWatertight
(
const TriangleMeshType & Mesh,
double DimScaleFactor
)
Remarks
Get the volume of a mesh using a method that is more robust to inputs with holes Mesh volume (scaled by DimScaleFactor^3)
Parameters
| Name | 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 |