MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::PrecipitationSimulator Class Reference

the class models water increase in the terrain under the rain with constant precipitation More...

#include <MRMesh/MRPrecipitationSimulator.h>

Classes

struct  SimulationStep

Public Types

enum class  Event { Event::Finish , Event::BasinFull , Event::Merge }

Public Member Functions

 PrecipitationSimulator (WatershedGraph &wg)
 initializes modeling from the initial subdivision of the terrain
SimulationStep simulateOne ()
 processes the next event happened with the terrain basins

Detailed Description

the class models water increase in the terrain under the rain with constant precipitation


The documentation for this class was generated from the following file: