MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstWatershedGraph.BasinInfo Class Reference
Inheritance diagram for mrmeshpy.ConstWatershedGraph.BasinInfo:

Public Member Functions

None __init__ (WatershedGraph.BasinInfo self)
None __init__ (WatershedGraph.BasinInfo self, WatershedGraph.ConstBasinInfo arg0)
WatershedGraph.BasinInfo assign (WatershedGraph.BasinInfo self, WatershedGraph.ConstBasinInfo other)
None updateAccVolume (WatershedGraph.BasinInfo self, float amount)
float accVolume (self)
None accVolume (self, float arg1)
float area (self)
None area (self, float arg1)
float lastMergeLevel (self)
None lastMergeLevel (self, float arg1)
float lastMergeVolume (self)
None lastMergeVolume (self, float arg1)
float lastUpdateAmount (self)
None lastUpdateAmount (self, float arg1)
float lowestBdLevel (self)
None lowestBdLevel (self, float arg1)
float lowestLevel (self)
None lowestLevel (self, float arg1)
VertId lowestVert (self)
None lowestVert (self, ConstVertId arg1)
float maxVolume (self)
None maxVolume (self, float arg1)
GraphEdgeId overflowVia (self)
None overflowVia (self, ConstGraphEdgeId arg1)
Public Member Functions inherited from mrmeshpy.WatershedGraph.ConstBasinInfo
 __init__ (self, *args, **kwargs)
float amountTillOverflow (self)
float approxLevel (self)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.WatershedGraph.ConstBasinInfo
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__() [1/3]

None mrmeshpy.ConstWatershedGraph.BasinInfo.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

None mrmeshpy.ConstWatershedGraph.BasinInfo.__init__ ( WatershedGraph.BasinInfo self)

◆ __init__() [3/3]

None mrmeshpy.ConstWatershedGraph.BasinInfo.__init__ ( WatershedGraph.BasinInfo self,
WatershedGraph.ConstBasinInfo arg0 )
Implicit copy constructor.

Member Function Documentation

◆ accVolume() [1/2]

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

Reimplemented from mrmeshpy.WatershedGraph.ConstBasinInfo.

◆ accVolume() [2/2]

None mrmeshpy.ConstWatershedGraph.BasinInfo.accVolume ( self,
float arg1 )
accumulated water volume in the basin so far

Reimplemented from mrmeshpy.WatershedGraph.ConstBasinInfo.

◆ area() [1/2]

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

Reimplemented from mrmeshpy.WatershedGraph.ConstBasinInfo.

◆ area() [2/2]

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

Reimplemented from mrmeshpy.WatershedGraph.ConstBasinInfo.

◆ assign()

WatershedGraph.BasinInfo mrmeshpy.ConstWatershedGraph.BasinInfo.assign ( WatershedGraph.BasinInfo self,
WatershedGraph.ConstBasinInfo other )

◆ lastMergeLevel() [1/2]

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

Reimplemented from mrmeshpy.WatershedGraph.ConstBasinInfo.

◆ lastMergeLevel() [2/2]

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

Reimplemented from mrmeshpy.WatershedGraph.ConstBasinInfo.

◆ lastMergeVolume() [1/2]

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

Reimplemented from mrmeshpy.WatershedGraph.ConstBasinInfo.

◆ lastMergeVolume() [2/2]

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

Reimplemented from mrmeshpy.WatershedGraph.ConstBasinInfo.

◆ lastUpdateAmount() [1/2]

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

Reimplemented from mrmeshpy.WatershedGraph.ConstBasinInfo.

◆ lastUpdateAmount() [2/2]

None mrmeshpy.ConstWatershedGraph.BasinInfo.lastUpdateAmount ( self,
float arg1 )
the amount when accVolume was last updated

Reimplemented from mrmeshpy.WatershedGraph.ConstBasinInfo.

◆ lowestBdLevel() [1/2]

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

Reimplemented from mrmeshpy.WatershedGraph.ConstBasinInfo.

◆ lowestBdLevel() [2/2]

None mrmeshpy.ConstWatershedGraph.BasinInfo.lowestBdLevel ( self,
float arg1 )
lowest position on the boundary of the basin

Reimplemented from mrmeshpy.WatershedGraph.ConstBasinInfo.

◆ lowestLevel() [1/2]

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

Reimplemented from mrmeshpy.WatershedGraph.ConstBasinInfo.

◆ lowestLevel() [2/2]

None mrmeshpy.ConstWatershedGraph.BasinInfo.lowestLevel ( self,
float arg1 )
lowest level (z-coordinate of lowestVert) in the basin

Reimplemented from mrmeshpy.WatershedGraph.ConstBasinInfo.

◆ lowestVert() [1/2]

VertId mrmeshpy.ConstWatershedGraph.BasinInfo.lowestVert ( self)
in the whole basin

Reimplemented from mrmeshpy.WatershedGraph.ConstBasinInfo.

◆ lowestVert() [2/2]

None mrmeshpy.ConstWatershedGraph.BasinInfo.lowestVert ( self,
ConstVertId arg1 )
in the whole basin

Reimplemented from mrmeshpy.WatershedGraph.ConstBasinInfo.

◆ maxVolume() [1/2]

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

Reimplemented from mrmeshpy.WatershedGraph.ConstBasinInfo.

◆ maxVolume() [2/2]

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

Reimplemented from mrmeshpy.WatershedGraph.ConstBasinInfo.

◆ overflowVia() [1/2]

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

Reimplemented from mrmeshpy.WatershedGraph.ConstBasinInfo.

◆ overflowVia() [2/2]

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

Reimplemented from mrmeshpy.WatershedGraph.ConstBasinInfo.

◆ updateAccVolume()

None mrmeshpy.ConstWatershedGraph.BasinInfo.updateAccVolume ( WatershedGraph.BasinInfo self,
float amount )
updates accumulated volume in the basin to the moment of given precipitation amount

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