MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstWatershedGraph.ConstBasinInfo Class Reference

Public Member Functions

 __init__ (self, *args, **kwargs)
float amountTillOverflow (WatershedGraph.ConstBasinInfo self)
float approxLevel (WatershedGraph.ConstBasinInfo self)
float accVolume (self)
float area (self)
float lastMergeLevel (self)
float lastMergeVolume (self)
float lastUpdateAmount (self)
float lowestBdLevel (self)
float lowestLevel (self)
ConstVertId lowestVert (self)
float maxVolume (self)
ConstGraphEdgeId overflowVia (self)

Static Protected Attributes

typing _offsetof_accVolume = 20
typing _offsetof_area = 8
typing _offsetof_lastMergeLevel = 28
typing _offsetof_lastMergeVolume = 32
typing _offsetof_lastUpdateAmount = 24
typing _offsetof_lowestBdLevel = 12
typing _offsetof_lowestLevel = 4
typing _offsetof_lowestVert = 0
typing _offsetof_maxVolume = 16
typing _offsetof_overflowVia = 36

Detailed Description

Generated from:  MR::WatershedGraph::BasinInfo
Aliases:  Vector_WatershedGraph_BasinInfo_GraphVertId.const_pointer, Vector_WatershedGraph_BasinInfo_GraphVertId.const_reference, Vector_WatershedGraph_BasinInfo_GraphVertId.pointer, Vector_WatershedGraph_BasinInfo_GraphVertId.reference, Vector_WatershedGraph_BasinInfo_GraphVertId.value_type, std_vector_WatershedGraph_BasinInfo_Allocator_WatershedGraph_BasinInfo_const_pointer, std_vector_WatershedGraph_BasinInfo_Allocator_WatershedGraph_BasinInfo_const_reference, std_vector_WatershedGraph_BasinInfo_Allocator_WatershedGraph_BasinInfo_pointer, std_vector_WatershedGraph_BasinInfo_Allocator_WatershedGraph_BasinInfo_reference, std_vector_WatershedGraph_BasinInfo_Allocator_WatershedGraph_BasinInfo_value_type

associated with each vertex in graph

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstWatershedGraph.ConstBasinInfo.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.WatershedGraph.ConstBasinInfo) -> None

2. __init__(self: meshlib.mrmeshpy.WatershedGraph.ConstBasinInfo, arg0: meshlib.mrmeshpy.WatershedGraph.ConstBasinInfo) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.WatershedGraph.ConstBasinInfo, : meshlib.mrmeshpy.WatershedGraph.ConstBasinInfo) -> None

Member Function Documentation

◆ accVolume()

float mrmeshpy.ConstWatershedGraph.ConstBasinInfo.accVolume ( self)
accumulated water volume in the basin so far

◆ amountTillOverflow()

float mrmeshpy.ConstWatershedGraph.ConstBasinInfo.amountTillOverflow ( WatershedGraph.ConstBasinInfo self)
amount of precipitation (in same units as mesh coordinates and water level),
which can be added before overflowing the basin

◆ approxLevel()

float mrmeshpy.ConstWatershedGraph.ConstBasinInfo.approxLevel ( WatershedGraph.ConstBasinInfo self)
approximate current level of water (z-coordinate) in the basin

◆ area()

float mrmeshpy.ConstWatershedGraph.ConstBasinInfo.area ( self)
precipitation area that flows in this basin (and if it is full, continue flowing next)

◆ lastMergeLevel()

float mrmeshpy.ConstWatershedGraph.ConstBasinInfo.lastMergeLevel ( self)
water level in the basin when it was formed (by merge or creation)

◆ lastMergeVolume()

float mrmeshpy.ConstWatershedGraph.ConstBasinInfo.lastMergeVolume ( self)
water volume in the basin when it was formed (by merge or creation)

◆ lastUpdateAmount()

float mrmeshpy.ConstWatershedGraph.ConstBasinInfo.lastUpdateAmount ( self)
the amount when accVolume was last updated

◆ lowestBdLevel()

float mrmeshpy.ConstWatershedGraph.ConstBasinInfo.lowestBdLevel ( self)
lowest position on the boundary of the basin

◆ lowestLevel()

float mrmeshpy.ConstWatershedGraph.ConstBasinInfo.lowestLevel ( self)
lowest level (z-coordinate of lowestVert) in the basin

◆ lowestVert()

ConstVertId mrmeshpy.ConstWatershedGraph.ConstBasinInfo.lowestVert ( self)
in the whole basin

◆ maxVolume()

float mrmeshpy.ConstWatershedGraph.ConstBasinInfo.maxVolume ( self)
full water volume to be accumulated in the basin till water reaches the lowest height on the boundary

◆ overflowVia()

ConstGraphEdgeId mrmeshpy.ConstWatershedGraph.ConstBasinInfo.overflowVia ( self)
when level=lowestBdLevel, volume=0, all water from this basin overflows via this boundary

Member Data Documentation

◆ _offsetof_accVolume

typing mrmeshpy.ConstWatershedGraph.ConstBasinInfo._offsetof_accVolume = 20
staticprotected

◆ _offsetof_area

typing mrmeshpy.ConstWatershedGraph.ConstBasinInfo._offsetof_area = 8
staticprotected

◆ _offsetof_lastMergeLevel

typing mrmeshpy.ConstWatershedGraph.ConstBasinInfo._offsetof_lastMergeLevel = 28
staticprotected

◆ _offsetof_lastMergeVolume

typing mrmeshpy.ConstWatershedGraph.ConstBasinInfo._offsetof_lastMergeVolume = 32
staticprotected

◆ _offsetof_lastUpdateAmount

typing mrmeshpy.ConstWatershedGraph.ConstBasinInfo._offsetof_lastUpdateAmount = 24
staticprotected

◆ _offsetof_lowestBdLevel

typing mrmeshpy.ConstWatershedGraph.ConstBasinInfo._offsetof_lowestBdLevel = 12
staticprotected

◆ _offsetof_lowestLevel

typing mrmeshpy.ConstWatershedGraph.ConstBasinInfo._offsetof_lowestLevel = 4
staticprotected

◆ _offsetof_lowestVert

typing mrmeshpy.ConstWatershedGraph.ConstBasinInfo._offsetof_lowestVert = 0
staticprotected

◆ _offsetof_maxVolume

typing mrmeshpy.ConstWatershedGraph.ConstBasinInfo._offsetof_maxVolume = 16
staticprotected

◆ _offsetof_overflowVia

typing mrmeshpy.ConstWatershedGraph.ConstBasinInfo._offsetof_overflowVia = 36
staticprotected

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