MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.PrecipitationSimulator Class Reference
Inheritance diagram for meshlib.PrecipitationSimulator:

Public Member Functions

 PrecipitationSimulator (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 PrecipitationSimulator (meshlib.PrecipitationSimulator _other)
 PrecipitationSimulator (meshlib.WatershedGraph wg)
meshlib.PrecipitationSimulator_SimulationStep simulateOne ()
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

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

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ PrecipitationSimulator() [1/3]

meshlib.PrecipitationSimulator.PrecipitationSimulator ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ PrecipitationSimulator() [2/3]

meshlib.PrecipitationSimulator.PrecipitationSimulator ( meshlib.PrecipitationSimulator _other)

Generated from constructor MR::PrecipitationSimulator::PrecipitationSimulator. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_PrecipitationSimulator_ConstructFromAnother().

◆ PrecipitationSimulator() [3/3]

meshlib.PrecipitationSimulator.PrecipitationSimulator ( meshlib.WatershedGraph wg)

initializes modeling from the initial subdivision of the terrain Generated from constructor MR::PrecipitationSimulator::PrecipitationSimulator. The reference to the parameter wg might be preserved in the constructed object.

Calls MR_PrecipitationSimulator_Construct().

Member Function Documentation

◆ simulateOne()

meshlib.PrecipitationSimulator_SimulationStep meshlib.PrecipitationSimulator.simulateOne ( )

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

Calls MR_PrecipitationSimulator_simulateOne().


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