stores map from element id in[0, size) to T;
Definition MRHeap.h:23
the class models water increase in the terrain under the rain with constant precipitation
Definition MRPrecipitationSimulator.h:15
graphs representing rain basins on the mesh
Definition MRWatershedGraph.h:15
MRMESH_API SimulationStep simulateOne()
processes the next event happened with the terrain basins
Event
Definition MRPrecipitationSimulator.h:21
GraphVertId neiBasin
Definition MRPrecipitationSimulator.h:33
MRMESH_API PrecipitationSimulator(WatershedGraph &wg)
initializes modeling from the initial subdivision of the terrain
float amount
amount of precipitation (in same units as mesh coordinates and water level)
Definition MRPrecipitationSimulator.h:30
GraphVertId basin
Definition MRPrecipitationSimulator.h:31
@ Merge
two basins just merged
@ BasinFull
one basin just became full
@ Finish
all basins are full and water goes outside
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRPrecipitationSimulator.h:28