MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.PrecipitationSimulator.SimulationStep Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, PrecipitationSimulator.Event event, float amount, GraphVertId basin, GraphVertId neiBasin)
 
float amount (self)
 
None amount (self, float arg1)
 
GraphVertId basin (self)
 
None basin (self, GraphVertId arg1)
 
GraphVertId neiBasin (self)
 
None neiBasin (self, GraphVertId arg1)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
PrecipitationSimulator.SimulationStep operator (*args, **kwargs)
 
PrecipitationSimulator.SimulationStep operator (*args, **kwargs)
 

Static Public Attributes

PrecipitationSimulator event .Event
 

Static Protected Attributes

typing _offsetof_amount = 4
 
typing _offsetof_basin = 8
 
typing _offsetof_event = 0
 
typing _offsetof_neiBasin = 12
 

Detailed Description

Generated from:  MR::PrecipitationSimulator::SimulationStep

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.PrecipitationSimulator.SimulationStep.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

None mrmeshpy.PrecipitationSimulator.SimulationStep.__init__ ( self)

◆ __init__() [3/3]

None mrmeshpy.PrecipitationSimulator.SimulationStep.__init__ ( self,
PrecipitationSimulator.Event event,
float amount,
GraphVertId basin,
GraphVertId neiBasin )
Implicit aggregate constructor.

Member Function Documentation

◆ amount() [1/2]

float mrmeshpy.PrecipitationSimulator.SimulationStep.amount ( self)
amount of precipitation (in same units as mesh coordinates and water level)

◆ amount() [2/2]

None mrmeshpy.PrecipitationSimulator.SimulationStep.amount ( self,
float arg1 )

◆ basin() [1/2]

GraphVertId mrmeshpy.PrecipitationSimulator.SimulationStep.basin ( self)
BasinFull: this basin just became full
Merge: this basin just absorbed the other basin

◆ basin() [2/2]

None mrmeshpy.PrecipitationSimulator.SimulationStep.basin ( self,
GraphVertId arg1 )

◆ neiBasin() [1/2]

GraphVertId mrmeshpy.PrecipitationSimulator.SimulationStep.neiBasin ( self)
BasinFull: the flow from full basin will first go here (may be not the last destination)
Merge: this basin was just absorbed

◆ neiBasin() [2/2]

None mrmeshpy.PrecipitationSimulator.SimulationStep.neiBasin ( self,
GraphVertId arg1 )

◆ operator() [1/2]

PrecipitationSimulator.SimulationStep mrmeshpy.PrecipitationSimulator.SimulationStep.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

PrecipitationSimulator.SimulationStep mrmeshpy.PrecipitationSimulator.SimulationStep.operator ( * args,
** kwargs )
static

Member Data Documentation

◆ _offsetof_amount

typing mrmeshpy.PrecipitationSimulator.SimulationStep._offsetof_amount = 4
staticprotected

◆ _offsetof_basin

typing mrmeshpy.PrecipitationSimulator.SimulationStep._offsetof_basin = 8
staticprotected

◆ _offsetof_event

typing mrmeshpy.PrecipitationSimulator.SimulationStep._offsetof_event = 0
staticprotected

◆ _offsetof_neiBasin

typing mrmeshpy.PrecipitationSimulator.SimulationStep._offsetof_neiBasin = 12
staticprotected

◆ event

PrecipitationSimulator mrmeshpy.PrecipitationSimulator.SimulationStep.event .Event
static

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