Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::FlowOrigin) -> &mut meshlib::FlowOrigin |
| auto | point () const -> &meshlib::MeshTriPoint |
| auto | point_mut () -> &mut meshlib::MeshTriPoint |
| void | set_point (value:&meshlib::MeshTriPoint) |
| auto | amount () const -> &f32 |
| auto | amount_mut () -> &mut f32 |
| void | set_amount (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::FlowOrigin > |
| static auto | construct_from (point:&meshlib::MeshTriPoint, amount:f32) -> meshlib::Owned< meshlib::FlowOrigin > |
| static auto | construct_from_another (_other:&meshlib::FlowOrigin) -> meshlib::Owned< meshlib::FlowOrigin > |
| 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 |
Generated from class MR::FlowOrigin.
Generated from class MR::FlowOrigin. Heap-allocated instances are held in Owned<FlowOrigin>.
| auto meshlib::FlowOrigin::amount | ( | ) | const -> &f32 |
amount of flow, e.g. can be proportional to the horizontal area associated with the start point Returns a pointer to a member variable of class MR::FlowOrigin named amount.
Calls MR_FlowOrigin_Get_amount(). The reference to this object might be preserved as the return value.
| auto meshlib::FlowOrigin::amount_mut | ( | ) | -> &mut f32 |
amount of flow, e.g. can be proportional to the horizontal area associated with the start point Returns a mutable pointer to a member variable of class MR::FlowOrigin named amount.
Calls MR_FlowOrigin_GetMutable_amount(). The reference to this object might be preserved as the return value.
| auto meshlib::FlowOrigin::assign_from_another | ( | _other:&meshlib::FlowOrigin | ) | -> &mut meshlib::FlowOrigin |
Generated from method MR::FlowOrigin::operator=.
Calls MR_FlowOrigin_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::FlowOrigin elementwise.
Calls MR_FlowOrigin_ConstructFrom(). The reference to the parameter point might be preserved in the constructed object.
|
static |
Generated from constructor MR::FlowOrigin::FlowOrigin.
Calls MR_FlowOrigin_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_FlowOrigin_DefaultConstruct().
| auto meshlib::FlowOrigin::point | ( | ) | const -> &meshlib::MeshTriPoint |
point on the mesh, where this flow starts Returns a pointer to a member variable of class MR::FlowOrigin named point.
Calls MR_FlowOrigin_Get_point(). The reference to this object might be preserved as the return value.
| auto meshlib::FlowOrigin::point_mut | ( | ) | -> &mut meshlib::MeshTriPoint |
point on the mesh, where this flow starts Returns a mutable pointer to a member variable of class MR::FlowOrigin named point.
Calls MR_FlowOrigin_GetMutable_point(). The reference to this object might be preserved as the return value.
| void meshlib::FlowOrigin::set_amount | ( | value:f32 | ) |
amount of flow, e.g. can be proportional to the horizontal area associated with the start point Modifies a member variable of class MR::FlowOrigin named amount.
Calls MR_FlowOrigin_Set_amount().
| void meshlib::FlowOrigin::set_point | ( | value:&meshlib::MeshTriPoint | ) |
point on the mesh, where this flow starts Modifies a member variable of class MR::FlowOrigin named point.
Calls MR_FlowOrigin_Set_point(). The reference to the parameter value might be preserved in this object in element point.