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 Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| BasinVolumeCalculator | operator (*args, **kwargs) |
| BasinVolumeCalculator | operator (*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
|
static |
| None mrmeshpy.BasinVolumeCalculator.__init__ | ( | self | ) |
| None mrmeshpy.BasinVolumeCalculator.__init__ | ( | self, | |
| BasinVolumeCalculator | arg0 ) |
Implicit copy constructor.
| 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
|
static |
|
static |