Public Member Functions | |
None | __init__ (self) |
None | __init__ (self, BasinVolumeCalculator arg0) |
bool | addTerrainTri (self, std_array_Vector3_float_3 t, float level) |
float | getVolume (self) |
Static Protected Member Functions | |
_pybind11_conduit_v1_ (*args, **kwargs) | |
Generated from: MR::BasinVolumeCalculator the class to compute the volume of water some basin can accumulate, considering that water upper surface has constant z-level
None mrmeshpy.BasinVolumeCalculator.__init__ | ( | self | ) |
Implicit default constructor.
None mrmeshpy.BasinVolumeCalculator.__init__ | ( | self, | |
BasinVolumeCalculator | arg0 ) |
Implicit copy constructor.
|
staticprotected |
bool mrmeshpy.BasinVolumeCalculator.addTerrainTri | ( | self, | |
std_array_Vector3_float_3 | t, | ||
float | level ) |
pass every triangle of the basin here, and the water level; \\return true if the triangle is at least partially below the water level and influences on the volume
float mrmeshpy.BasinVolumeCalculator.getVolume | ( | self | ) |
call it after all addTerrainTri to get the volume