Public Member Functions | |
| BasinVolumeCalculator (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| BasinVolumeCalculator () | |
| BasinVolumeCalculator (meshlib.BasinVolumeCalculator _other) | |
| meshlib.BasinVolumeCalculator | assignFromAnother (meshlib.BasinVolumeCalculator _other) |
| boolean | addTerrainTri (meshlib.std_array_MR_Vector3f_3 t, float level) |
| double | getVolume () |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
the class to compute the volume of water some basin can accumulate, considering that water upper surface has constant z-level Generated from class MR::BasinVolumeCalculator.
Instances created here own their C++ objects, see CppObject.
| meshlib.BasinVolumeCalculator.BasinVolumeCalculator | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.BasinVolumeCalculator.BasinVolumeCalculator | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_BasinVolumeCalculator_DefaultConstruct().
| meshlib.BasinVolumeCalculator.BasinVolumeCalculator | ( | meshlib.BasinVolumeCalculator | _other | ) |
Generated from constructor MR::BasinVolumeCalculator::BasinVolumeCalculator. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_BasinVolumeCalculator_ConstructFromAnother().
| boolean meshlib.BasinVolumeCalculator.addTerrainTri | ( | meshlib.std_array_MR_Vector3f_3 | t, |
| float | level ) |
pass every triangle of the basin here, and the water level;
Calls MR_BasinVolumeCalculator_addTerrainTri().
| meshlib.BasinVolumeCalculator meshlib.BasinVolumeCalculator.assignFromAnother | ( | meshlib.BasinVolumeCalculator | _other | ) |
Generated from method MR::BasinVolumeCalculator::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_BasinVolumeCalculator_AssignFromAnother().
| double meshlib.BasinVolumeCalculator.getVolume | ( | ) |
call it after all addTerrainTri to get the volume Generated from method MR::BasinVolumeCalculator::getVolume.
Calls MR_BasinVolumeCalculator_getVolume().