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 <MRPrecipitationSimulator.h>

Classes

struct  SimulationStep
 

Public Types

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

Public Member Functions

MRMESH_API PrecipitationSimulator (WatershedGraph &wg)
 initializes modeling from the initial subdivision of the terrain
 
MRMESH_API 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: