#include <MRBasinVolume.h>
Public Member Functions | |
MRMESH_API bool | addTerrainTri (Triangle3f t, float level) |
double | getVolume () const |
call it after all addTerrainTri to get the volume | |
the class to compute the volume of water some basin can accumulate, considering that water upper surface has constant z-level
MRMESH_API bool MR::BasinVolumeCalculator::addTerrainTri | ( | Triangle3f | t, |
float | level ) |
pass every triangle of the basin here, and the water level;
|
inlinenodiscard |
call it after all addTerrainTri to get the volume