Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::WatershedGraph_BasinInfo) -> &mut meshlib::WatershedGraph_BasinInfo |
| auto | amount_till_overflow () const -> f32 |
| auto | approx_level () const -> f32 |
| void | update_acc_volume (amount:f32) |
| auto | lowest_vert () const -> &meshlib::VertId |
| auto | lowest_vert_mut () -> &mut meshlib::VertId |
| void | set_lowest_vert (value:meshlib::VertId) |
| auto | lowest_level () const -> &f32 |
| auto | lowest_level_mut () -> &mut f32 |
| void | set_lowest_level (value:f32) |
| auto | area () const -> &f32 |
| auto | area_mut () -> &mut f32 |
| void | set_area (value:f32) |
| auto | lowest_bd_level () const -> &f32 |
| auto | lowest_bd_level_mut () -> &mut f32 |
| void | set_lowest_bd_level (value:f32) |
| auto | max_volume () const -> &f32 |
| auto | max_volume_mut () -> &mut f32 |
| void | set_max_volume (value:f32) |
| auto | acc_volume () const -> &f32 |
| auto | acc_volume_mut () -> &mut f32 |
| void | set_acc_volume (value:f32) |
| auto | last_update_amount () const -> &f32 |
| auto | last_update_amount_mut () -> &mut f32 |
| void | set_last_update_amount (value:f32) |
| auto | last_merge_level () const -> &f32 |
| auto | last_merge_level_mut () -> &mut f32 |
| void | set_last_merge_level (value:f32) |
| auto | last_merge_volume () const -> &f32 |
| auto | last_merge_volume_mut () -> &mut f32 |
| void | set_last_merge_volume (value:f32) |
| auto | overflow_via () const -> &meshlib::GraphEdgeId |
| auto | overflow_via_mut () -> &mut meshlib::GraphEdgeId |
| void | set_overflow_via (value:meshlib::GraphEdgeId) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::WatershedGraph_BasinInfo > |
| static auto | construct_from_another (_other:&meshlib::WatershedGraph_BasinInfo) -> meshlib::Owned< meshlib::WatershedGraph_BasinInfo > |
| 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 |
associated with each vertex in graph Generated from class MR::WatershedGraph::BasinInfo.
Generated from class MR::WatershedGraph::BasinInfo. Heap-allocated instances are held in Owned<WatershedGraph_BasinInfo>.
| auto meshlib::WatershedGraph_BasinInfo::acc_volume | ( | ) | const -> &f32 |
< accumulated water volume in the basin so far Returns a pointer to a member variable of class MR::WatershedGraph::BasinInfo named accVolume.
Calls MR_WatershedGraph_BasinInfo_Get_accVolume(). The reference to this object might be preserved as the return value.
| auto meshlib::WatershedGraph_BasinInfo::acc_volume_mut | ( | ) | -> &mut f32 |
< accumulated water volume in the basin so far Returns a mutable pointer to a member variable of class MR::WatershedGraph::BasinInfo named accVolume.
Calls MR_WatershedGraph_BasinInfo_GetMutable_accVolume(). The reference to this object might be preserved as the return value.
| auto meshlib::WatershedGraph_BasinInfo::amount_till_overflow | ( | ) | const -> f32 |
amount of precipitation (in same units as mesh coordinates and water level), which can be added before overflowing the basin Generated from method MR::WatershedGraph::BasinInfo::amountTillOverflow.
Calls MR_WatershedGraph_BasinInfo_amountTillOverflow().
| auto meshlib::WatershedGraph_BasinInfo::approx_level | ( | ) | const -> f32 |
approximate current level of water (z-coordinate) in the basin Generated from method MR::WatershedGraph::BasinInfo::approxLevel.
Calls MR_WatershedGraph_BasinInfo_approxLevel().
| auto meshlib::WatershedGraph_BasinInfo::area | ( | ) | const -> &f32 |
< precipitation area that flows in this basin (and if it is full, continue flowing next) Returns a pointer to a member variable of class MR::WatershedGraph::BasinInfo named area.
Calls MR_WatershedGraph_BasinInfo_Get_area(). The reference to this object might be preserved as the return value.
| auto meshlib::WatershedGraph_BasinInfo::area_mut | ( | ) | -> &mut f32 |
< precipitation area that flows in this basin (and if it is full, continue flowing next) Returns a mutable pointer to a member variable of class MR::WatershedGraph::BasinInfo named area.
Calls MR_WatershedGraph_BasinInfo_GetMutable_area(). The reference to this object might be preserved as the return value.
| auto meshlib::WatershedGraph_BasinInfo::assign_from_another | ( | _other:&meshlib::WatershedGraph_BasinInfo | ) | -> &mut meshlib::WatershedGraph_BasinInfo |
Generated from method MR::WatershedGraph::BasinInfo::operator=.
Calls MR_WatershedGraph_BasinInfo_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::WatershedGraph::BasinInfo::BasinInfo.
Calls MR_WatershedGraph_BasinInfo_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::WatershedGraph_BasinInfo::last_merge_level | ( | ) | const -> &f32 |
< water level in the basin when it was formed (by merge or creation) Returns a pointer to a member variable of class MR::WatershedGraph::BasinInfo named lastMergeLevel.
Calls MR_WatershedGraph_BasinInfo_Get_lastMergeLevel(). The reference to this object might be preserved as the return value.
| auto meshlib::WatershedGraph_BasinInfo::last_merge_level_mut | ( | ) | -> &mut f32 |
< water level in the basin when it was formed (by merge or creation) Returns a mutable pointer to a member variable of class MR::WatershedGraph::BasinInfo named lastMergeLevel.
Calls MR_WatershedGraph_BasinInfo_GetMutable_lastMergeLevel(). The reference to this object might be preserved as the return value.
| auto meshlib::WatershedGraph_BasinInfo::last_merge_volume | ( | ) | const -> &f32 |
< water volume in the basin when it was formed (by merge or creation) Returns a pointer to a member variable of class MR::WatershedGraph::BasinInfo named lastMergeVolume.
Calls MR_WatershedGraph_BasinInfo_Get_lastMergeVolume(). The reference to this object might be preserved as the return value.
| auto meshlib::WatershedGraph_BasinInfo::last_merge_volume_mut | ( | ) | -> &mut f32 |
< water volume in the basin when it was formed (by merge or creation) Returns a mutable pointer to a member variable of class MR::WatershedGraph::BasinInfo named lastMergeVolume.
Calls MR_WatershedGraph_BasinInfo_GetMutable_lastMergeVolume(). The reference to this object might be preserved as the return value.
| auto meshlib::WatershedGraph_BasinInfo::last_update_amount | ( | ) | const -> &f32 |
< the amount when accVolume was last updated Returns a pointer to a member variable of class MR::WatershedGraph::BasinInfo named lastUpdateAmount.
Calls MR_WatershedGraph_BasinInfo_Get_lastUpdateAmount(). The reference to this object might be preserved as the return value.
| auto meshlib::WatershedGraph_BasinInfo::last_update_amount_mut | ( | ) | -> &mut f32 |
< the amount when accVolume was last updated Returns a mutable pointer to a member variable of class MR::WatershedGraph::BasinInfo named lastUpdateAmount.
Calls MR_WatershedGraph_BasinInfo_GetMutable_lastUpdateAmount(). The reference to this object might be preserved as the return value.
| auto meshlib::WatershedGraph_BasinInfo::lowest_bd_level | ( | ) | const -> &f32 |
< lowest position on the boundary of the basin Returns a pointer to a member variable of class MR::WatershedGraph::BasinInfo named lowestBdLevel.
Calls MR_WatershedGraph_BasinInfo_Get_lowestBdLevel(). The reference to this object might be preserved as the return value.
| auto meshlib::WatershedGraph_BasinInfo::lowest_bd_level_mut | ( | ) | -> &mut f32 |
< lowest position on the boundary of the basin Returns a mutable pointer to a member variable of class MR::WatershedGraph::BasinInfo named lowestBdLevel.
Calls MR_WatershedGraph_BasinInfo_GetMutable_lowestBdLevel(). The reference to this object might be preserved as the return value.
| auto meshlib::WatershedGraph_BasinInfo::lowest_level | ( | ) | const -> &f32 |
< lowest level (z-coordinate of lowestVert) in the basin Returns a pointer to a member variable of class MR::WatershedGraph::BasinInfo named lowestLevel.
Calls MR_WatershedGraph_BasinInfo_Get_lowestLevel(). The reference to this object might be preserved as the return value.
| auto meshlib::WatershedGraph_BasinInfo::lowest_level_mut | ( | ) | -> &mut f32 |
< lowest level (z-coordinate of lowestVert) in the basin Returns a mutable pointer to a member variable of class MR::WatershedGraph::BasinInfo named lowestLevel.
Calls MR_WatershedGraph_BasinInfo_GetMutable_lowestLevel(). The reference to this object might be preserved as the return value.
| auto meshlib::WatershedGraph_BasinInfo::lowest_vert | ( | ) | const -> &meshlib::VertId |
< in the whole basin Returns a pointer to a member variable of class MR::WatershedGraph::BasinInfo named lowestVert.
Calls MR_WatershedGraph_BasinInfo_Get_lowestVert(). The reference to this object might be preserved as the return value.
| auto meshlib::WatershedGraph_BasinInfo::lowest_vert_mut | ( | ) | -> &mut meshlib::VertId |
< in the whole basin Returns a mutable pointer to a member variable of class MR::WatershedGraph::BasinInfo named lowestVert.
Calls MR_WatershedGraph_BasinInfo_GetMutable_lowestVert(). The reference to this object might be preserved as the return value.
| auto meshlib::WatershedGraph_BasinInfo::max_volume | ( | ) | const -> &f32 |
< full water volume to be accumulated in the basin till water reaches the lowest height on the boundary Returns a pointer to a member variable of class MR::WatershedGraph::BasinInfo named maxVolume.
Calls MR_WatershedGraph_BasinInfo_Get_maxVolume(). The reference to this object might be preserved as the return value.
| auto meshlib::WatershedGraph_BasinInfo::max_volume_mut | ( | ) | -> &mut f32 |
< full water volume to be accumulated in the basin till water reaches the lowest height on the boundary Returns a mutable pointer to a member variable of class MR::WatershedGraph::BasinInfo named maxVolume.
Calls MR_WatershedGraph_BasinInfo_GetMutable_maxVolume(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_WatershedGraph_BasinInfo_DefaultConstruct().
| auto meshlib::WatershedGraph_BasinInfo::overflow_via | ( | ) | const -> &meshlib::GraphEdgeId |
< when level=lowestBdLevel, volume=0, all water from this basin overflows via this boundary Returns a pointer to a member variable of class MR::WatershedGraph::BasinInfo named overflowVia.
Calls MR_WatershedGraph_BasinInfo_Get_overflowVia(). The reference to this object might be preserved as the return value.
| auto meshlib::WatershedGraph_BasinInfo::overflow_via_mut | ( | ) | -> &mut meshlib::GraphEdgeId |
< when level=lowestBdLevel, volume=0, all water from this basin overflows via this boundary Returns a mutable pointer to a member variable of class MR::WatershedGraph::BasinInfo named overflowVia.
Calls MR_WatershedGraph_BasinInfo_GetMutable_overflowVia(). The reference to this object might be preserved as the return value.
| void meshlib::WatershedGraph_BasinInfo::set_acc_volume | ( | value:f32 | ) |
< accumulated water volume in the basin so far Modifies a member variable of class MR::WatershedGraph::BasinInfo named accVolume.
Calls MR_WatershedGraph_BasinInfo_Set_accVolume().
| void meshlib::WatershedGraph_BasinInfo::set_area | ( | value:f32 | ) |
< precipitation area that flows in this basin (and if it is full, continue flowing next) Modifies a member variable of class MR::WatershedGraph::BasinInfo named area.
Calls MR_WatershedGraph_BasinInfo_Set_area().
| void meshlib::WatershedGraph_BasinInfo::set_last_merge_level | ( | value:f32 | ) |
< water level in the basin when it was formed (by merge or creation) Modifies a member variable of class MR::WatershedGraph::BasinInfo named lastMergeLevel.
Calls MR_WatershedGraph_BasinInfo_Set_lastMergeLevel().
| void meshlib::WatershedGraph_BasinInfo::set_last_merge_volume | ( | value:f32 | ) |
< water volume in the basin when it was formed (by merge or creation) Modifies a member variable of class MR::WatershedGraph::BasinInfo named lastMergeVolume.
Calls MR_WatershedGraph_BasinInfo_Set_lastMergeVolume().
| void meshlib::WatershedGraph_BasinInfo::set_last_update_amount | ( | value:f32 | ) |
< the amount when accVolume was last updated Modifies a member variable of class MR::WatershedGraph::BasinInfo named lastUpdateAmount.
Calls MR_WatershedGraph_BasinInfo_Set_lastUpdateAmount().
| void meshlib::WatershedGraph_BasinInfo::set_lowest_bd_level | ( | value:f32 | ) |
< lowest position on the boundary of the basin Modifies a member variable of class MR::WatershedGraph::BasinInfo named lowestBdLevel.
Calls MR_WatershedGraph_BasinInfo_Set_lowestBdLevel().
| void meshlib::WatershedGraph_BasinInfo::set_lowest_level | ( | value:f32 | ) |
< lowest level (z-coordinate of lowestVert) in the basin Modifies a member variable of class MR::WatershedGraph::BasinInfo named lowestLevel.
Calls MR_WatershedGraph_BasinInfo_Set_lowestLevel().
| void meshlib::WatershedGraph_BasinInfo::set_lowest_vert | ( | value:meshlib::VertId | ) |
< in the whole basin Modifies a member variable of class MR::WatershedGraph::BasinInfo named lowestVert.
Calls MR_WatershedGraph_BasinInfo_Set_lowestVert(). The reference to the parameter value might be preserved in this object in element lowestVert.
| void meshlib::WatershedGraph_BasinInfo::set_max_volume | ( | value:f32 | ) |
< full water volume to be accumulated in the basin till water reaches the lowest height on the boundary Modifies a member variable of class MR::WatershedGraph::BasinInfo named maxVolume.
Calls MR_WatershedGraph_BasinInfo_Set_maxVolume().
| void meshlib::WatershedGraph_BasinInfo::set_overflow_via | ( | value:meshlib::GraphEdgeId | ) |
< when level=lowestBdLevel, volume=0, all water from this basin overflows via this boundary Modifies a member variable of class MR::WatershedGraph::BasinInfo named overflowVia.
Calls MR_WatershedGraph_BasinInfo_Set_overflowVia(). The reference to the parameter value might be preserved in this object in element overflowVia.
| void meshlib::WatershedGraph_BasinInfo::update_acc_volume | ( | amount:f32 | ) |
updates accumulated volume in the basin to the moment of given precipitation amount Generated from method MR::WatershedGraph::BasinInfo::updateAccVolume.
Calls MR_WatershedGraph_BasinInfo_updateAccVolume().