MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::FlowAggregator_Flows Struct Reference
Inheritance diagram for meshlib::FlowAggregator_Flows:

Public Member Functions

auto assign_from_another (_other:&meshlib::FlowAggregator_Flows) -> &mut meshlib::FlowAggregator_Flows
auto polyline () const -> &meshlib::Polyline3
auto polyline_mut () -> &mut meshlib::Polyline3
void set_polyline (value:&meshlib::Polyline3)
auto flow_per_edge () const -> &meshlib::UndirectedEdgeScalars
auto flow_per_edge_mut () -> &mut meshlib::UndirectedEdgeScalars
void set_flow_per_edge (value:&meshlib::UndirectedEdgeScalars)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::FlowAggregator_Flows >
static auto construct_from (polyline:&meshlib::Polyline3, flowPerEdge:&meshlib::UndirectedEdgeScalars) -> meshlib::Owned< meshlib::FlowAggregator_Flows >
static auto construct_from_another (_other:&meshlib::FlowAggregator_Flows) -> meshlib::Owned< meshlib::FlowAggregator_Flows >
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

Detailed Description

Generated from class MR::FlowAggregator::Flows.

Generated from class MR::FlowAggregator::Flows. Heap-allocated instances are held in Owned<FlowAggregator_Flows>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::FlowAggregator_Flows::assign_from_another ( _other:&meshlib::FlowAggregator_Flows ) -> &mut meshlib::FlowAggregator_Flows

Generated from method MR::FlowAggregator::Flows::operator=.

Calls MR_FlowAggregator_Flows_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ construct_from()

auto meshlib::FlowAggregator_Flows::construct_from ( polyline:&meshlib::Polyline3 ,
flowPerEdge:&meshlib::UndirectedEdgeScalars  ) -> meshlib::Owned< meshlib::FlowAggregator_Flows >
static

Constructs MR::FlowAggregator::Flows elementwise.

Calls MR_FlowAggregator_Flows_ConstructFrom(). The reference to the parameter polyline might be preserved in the constructed object. The reference to the parameter flowPerEdge might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::FlowAggregator_Flows::construct_from_another ( _other:&meshlib::FlowAggregator_Flows ) -> meshlib::Owned< meshlib::FlowAggregator_Flows >
static

Generated from constructor MR::FlowAggregator::Flows::Flows.

Calls MR_FlowAggregator_Flows_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ flow_per_edge()

auto meshlib::FlowAggregator_Flows::flow_per_edge ( ) const -> &meshlib::UndirectedEdgeScalars

Returns a pointer to a member variable of class MR::FlowAggregator::Flows named flowPerEdge.

Calls MR_FlowAggregator_Flows_Get_flowPerEdge(). The reference to this object might be preserved as the return value.

◆ flow_per_edge_mut()

auto meshlib::FlowAggregator_Flows::flow_per_edge_mut ( ) -> &mut meshlib::UndirectedEdgeScalars

Returns a mutable pointer to a member variable of class MR::FlowAggregator::Flows named flowPerEdge.

Calls MR_FlowAggregator_Flows_GetMutable_flowPerEdge(). The reference to this object might be preserved as the return value.

◆ new()

auto meshlib::FlowAggregator_Flows::new ( ) -> meshlib::Owned< meshlib::FlowAggregator_Flows >
static

Constructs an empty (default-constructed) instance.

Calls MR_FlowAggregator_Flows_DefaultConstruct().

◆ polyline()

auto meshlib::FlowAggregator_Flows::polyline ( ) const -> &meshlib::Polyline3

Returns a pointer to a member variable of class MR::FlowAggregator::Flows named polyline.

Calls MR_FlowAggregator_Flows_Get_polyline(). The reference to this object might be preserved as the return value.

◆ polyline_mut()

auto meshlib::FlowAggregator_Flows::polyline_mut ( ) -> &mut meshlib::Polyline3

Returns a mutable pointer to a member variable of class MR::FlowAggregator::Flows named polyline.

Calls MR_FlowAggregator_Flows_GetMutable_polyline(). The reference to this object might be preserved as the return value.

◆ set_flow_per_edge()

void meshlib::FlowAggregator_Flows::set_flow_per_edge ( value:&meshlib::UndirectedEdgeScalars )

Modifies a member variable of class MR::FlowAggregator::Flows named flowPerEdge.

Calls MR_FlowAggregator_Flows_Set_flowPerEdge(). The reference to the parameter value might be preserved in this object in element flowPerEdge.

◆ set_polyline()

void meshlib::FlowAggregator_Flows::set_polyline ( value:&meshlib::Polyline3 )

Modifies a member variable of class MR::FlowAggregator::Flows named polyline.

Calls MR_FlowAggregator_Flows_Set_polyline(). The reference to the parameter value might be preserved in this object in element polyline.


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