MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::PrecipitationSimulator Struct Reference
Inheritance diagram for meshlib::PrecipitationSimulator:

Public Member Functions

auto simulate_one () -> meshlib::Owned< meshlib::PrecipitationSimulator_SimulationStep >

Static Public Member Functions

static auto construct_from_another (_other:&meshlib::PrecipitationSimulator) -> meshlib::Owned< meshlib::PrecipitationSimulator >
static auto construct (wg:&mut meshlib::WatershedGraph) -> meshlib::Owned< meshlib::PrecipitationSimulator >
Static Public Member Functions inherited from meshlib::CppClass
static void destroy (ptr:*mut Self)
Static Public Member Functions inherited from meshlib::CppCopy
static auto copy (ptr:*const Self) -> *mut Self

Detailed Description

the class models water increase in the terrain under the rain with constant precipitation Generated from class MR::PrecipitationSimulator.

Generated from class MR::PrecipitationSimulator. Heap-allocated instances are held in Owned<PrecipitationSimulator>.

Member Function Documentation

◆ construct()

auto meshlib::PrecipitationSimulator::construct ( wg:&mut meshlib::WatershedGraph ) -> meshlib::Owned< meshlib::PrecipitationSimulator >
static

initializes modeling from the initial subdivision of the terrain Generated from constructor MR::PrecipitationSimulator::PrecipitationSimulator.

Calls MR_PrecipitationSimulator_Construct(). The reference to the parameter wg might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::PrecipitationSimulator::construct_from_another ( _other:&meshlib::PrecipitationSimulator ) -> meshlib::Owned< meshlib::PrecipitationSimulator >
static

Generated from constructor MR::PrecipitationSimulator::PrecipitationSimulator.

Calls MR_PrecipitationSimulator_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ simulate_one()

auto meshlib::PrecipitationSimulator::simulate_one ( ) -> meshlib::Owned< meshlib::PrecipitationSimulator_SimulationStep >

processes the next event happened with the terrain basins Generated from method MR::PrecipitationSimulator::simulateOne.

Calls MR_PrecipitationSimulator_simulateOne().


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