Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::CurveFunc) -> &mut meshlib::CurveFunc |
| auto | func () const -> &meshlib::std_function_MR_CurvePoint_from_float |
| auto | func_mut () -> &mut meshlib::std_function_MR_CurvePoint_from_float |
| void | set_func (value:&meshlib::std_function_MR_CurvePoint_from_float) |
| auto | total_length () const -> &f32 |
| auto | total_length_mut () -> &mut f32 |
| void | set_total_length (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::CurveFunc > |
| static auto | construct_from (func:&meshlib::std_function_MR_CurvePoint_from_float, totalLength:f32) -> meshlib::Owned< meshlib::CurveFunc > |
| static auto | construct_from_another (_other:&meshlib::CurveFunc) -> meshlib::Owned< meshlib::CurveFunc > |
| 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::CurveFunc.
Generated from class MR::CurveFunc. Heap-allocated instances are held in Owned<CurveFunc>.
| auto meshlib::CurveFunc::assign_from_another | ( | _other:&meshlib::CurveFunc | ) | -> &mut meshlib::CurveFunc |
Generated from method MR::CurveFunc::operator=.
Calls MR_CurveFunc_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::CurveFunc elementwise.
Calls MR_CurveFunc_ConstructFrom(). The reference to the parameter func might be preserved in the constructed object.
|
static |
Generated from constructor MR::CurveFunc::CurveFunc.
Calls MR_CurveFunc_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::CurveFunc::func | ( | ) | const -> &meshlib::std_function_MR_CurvePoint_from_float |
curve given as a function: position along curve -> point Returns a pointer to a member variable of class MR::CurveFunc named func.
Calls MR_CurveFunc_Get_func(). The reference to this object might be preserved as the return value.
| auto meshlib::CurveFunc::func_mut | ( | ) | -> &mut meshlib::std_function_MR_CurvePoint_from_float |
curve given as a function: position along curve -> point Returns a mutable pointer to a member variable of class MR::CurveFunc named func.
Calls MR_CurveFunc_GetMutable_func(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_CurveFunc_DefaultConstruct().
| void meshlib::CurveFunc::set_func | ( | value:&meshlib::std_function_MR_CurvePoint_from_float | ) |
curve given as a function: position along curve -> point Modifies a member variable of class MR::CurveFunc named func.
Calls MR_CurveFunc_Set_func(). The reference to the parameter value might be preserved in this object in element func.
| void meshlib::CurveFunc::set_total_length | ( | value:f32 | ) |
total length of the given curve Modifies a member variable of class MR::CurveFunc named totalLength.
Calls MR_CurveFunc_Set_totalLength().
| auto meshlib::CurveFunc::total_length | ( | ) | const -> &f32 |
total length of the given curve Returns a pointer to a member variable of class MR::CurveFunc named totalLength.
Calls MR_CurveFunc_Get_totalLength(). The reference to this object might be preserved as the return value.
| auto meshlib::CurveFunc::total_length_mut | ( | ) | -> &mut f32 |
total length of the given curve Returns a mutable pointer to a member variable of class MR::CurveFunc named totalLength.
Calls MR_CurveFunc_GetMutable_totalLength(). The reference to this object might be preserved as the return value.