#include <MRCMisc/exports.h>
#include <MRCMisc/std_array_MR_Vector3f_3.h>
#include <stdbool.h>
#include <stddef.h>
Go to the source code of this file.
◆ MR_BasinVolumeCalculator
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
.
◆ MR_FaceBitSet
◆ MR_Mesh
◆ MR_BasinVolumeCalculator_addTerrainTri()
pass every triangle of the basin here, and the water level;
- Returns
- true if the triangle is at least partially below the water level and influences on the volume Generated from a method of class
MR::BasinVolumeCalculator
named addTerrainTri
. Parameter _this
can not be null. It is a single object.
◆ MR_BasinVolumeCalculator_AssignFromAnother()
Generated from a method of class MR::BasinVolumeCalculator
named operator=
. Parameter _this
can not be null. It is a single object. Parameter _other
can not be null. It is a single object. The returned pointer will never be null. It is non-owning, do NOT destroy it.
◆ MR_BasinVolumeCalculator_ConstructFromAnother()
◆ MR_BasinVolumeCalculator_DefaultConstruct()
Constructs an empty (default-constructed) instance. Never returns null. Returns an instance allocated on the heap! Must call MR_BasinVolumeCalculator_Destroy()
to free it when you're done using it.
◆ MR_BasinVolumeCalculator_DefaultConstructArray()
◆ MR_BasinVolumeCalculator_Destroy()
Destroys a heap-allocated instance of MR_BasinVolumeCalculator
. Does nothing if the pointer is null.
◆ MR_BasinVolumeCalculator_DestroyArray()
Destroys a heap-allocated array of MR_BasinVolumeCalculator
. Does nothing if the pointer is null.
◆ MR_BasinVolumeCalculator_getVolume()
call it after all addTerrainTri to get the volume Generated from a method of class MR::BasinVolumeCalculator
named getVolume
. Parameter _this
can not be null. It is a single object.
◆ MR_BasinVolumeCalculator_OffsetMutablePtr()
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
◆ MR_BasinVolumeCalculator_OffsetPtr()
Offsets a pointer to an array element by i
positions (not bytes). Use only if you're certain that the pointer points to an array element.
◆ MR_computeBasinVolume()
computes the volume of given mesh basin below given water level;
- Parameters
-
faces | shall include all basin faces at least partially below the water level Generated from function MR::computeBasinVolume . Parameter mesh can not be null. It is a single object. Parameter faces can not be null. It is a single object. |