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) |
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 meshlib.mrmeshpy.BasinVolumeCalculator.__init__ | ( | self | ) |
Implicit default constructor.
None meshlib.mrmeshpy.BasinVolumeCalculator.__init__ | ( | self, | |
BasinVolumeCalculator | arg0 ) |
Implicit copy constructor.
bool meshlib.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 meshlib.mrmeshpy.BasinVolumeCalculator.getVolume | ( | self | ) |
call it after all addTerrainTri to get the volume