Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::Parabolaf) -> &mut meshlib::Parabolaf |
| auto | call (x:f32) const -> f32 |
| auto | extrem_arg () const -> f32 |
| auto | extrem_val () const -> f32 |
| auto | a () const -> &f32 |
| auto | a_mut () -> &mut f32 |
| void | set_a (value:f32) |
| auto | b () const -> &f32 |
| auto | b_mut () -> &mut f32 |
| void | set_b (value:f32) |
| auto | c () const -> &f32 |
| auto | c_mut () -> &mut f32 |
| void | set_c (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::Parabolaf > |
| static auto | construct_from_another (_other:&meshlib::Parabolaf) -> meshlib::Owned< meshlib::Parabolaf > |
| static auto | construct (a:f32, b:f32, c:f32) -> meshlib::Owned< meshlib::Parabolaf > |
| 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 |
Represents quadratic function f(x) = a*x*x + b*x + c Generated from class MR::Parabolaf.
Generated from class MR::Parabolaf. Heap-allocated instances are held in Owned<Parabolaf>.
| auto meshlib::Parabolaf::a | ( | ) | const -> &f32 |
Returns a pointer to a member variable of class MR::Parabolaf named a.
Calls MR_Parabolaf_Get_a(). The reference to this object might be preserved as the return value.
| auto meshlib::Parabolaf::a_mut | ( | ) | -> &mut f32 |
Returns a mutable pointer to a member variable of class MR::Parabolaf named a.
Calls MR_Parabolaf_GetMutable_a(). The reference to this object might be preserved as the return value.
| auto meshlib::Parabolaf::assign_from_another | ( | _other:&meshlib::Parabolaf | ) | -> &mut meshlib::Parabolaf |
Generated from method MR::Parabolaf::operator=.
Calls MR_Parabolaf_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::Parabolaf::b | ( | ) | const -> &f32 |
Returns a pointer to a member variable of class MR::Parabolaf named b.
Calls MR_Parabolaf_Get_b(). The reference to this object might be preserved as the return value.
| auto meshlib::Parabolaf::b_mut | ( | ) | -> &mut f32 |
Returns a mutable pointer to a member variable of class MR::Parabolaf named b.
Calls MR_Parabolaf_GetMutable_b(). The reference to this object might be preserved as the return value.
| auto meshlib::Parabolaf::c | ( | ) | const -> &f32 |
Returns a pointer to a member variable of class MR::Parabolaf named c.
Calls MR_Parabolaf_Get_c(). The reference to this object might be preserved as the return value.
| auto meshlib::Parabolaf::c_mut | ( | ) | -> &mut f32 |
Returns a mutable pointer to a member variable of class MR::Parabolaf named c.
Calls MR_Parabolaf_GetMutable_c(). The reference to this object might be preserved as the return value.
| auto meshlib::Parabolaf::call | ( | x:f32 | ) | const -> f32 |
compute value of quadratic function at any x Generated from method MR::Parabolaf::operator().
Calls MR_Parabolaf_call().
|
static |
Generated from constructor MR::Parabolaf::Parabolaf.
Calls MR_Parabolaf_Construct().
|
static |
Generated from constructor MR::Parabolaf::Parabolaf.
Calls MR_Parabolaf_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::Parabolaf::extrem_arg | ( | ) | const -> f32 |
argument (x) where parabola reaches extremal value: minimum for a > 0, maximum for a < 0 Generated from method MR::Parabolaf::extremArg.
Calls MR_Parabolaf_extremArg().
| auto meshlib::Parabolaf::extrem_val | ( | ) | const -> f32 |
value (y) where parabola reaches extremal value: minimum for a > 0, maximum for a < 0 Generated from method MR::Parabolaf::extremVal.
Calls MR_Parabolaf_extremVal().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Parabolaf_DefaultConstruct().
| void meshlib::Parabolaf::set_a | ( | value:f32 | ) |
Modifies a member variable of class MR::Parabolaf named a.
Calls MR_Parabolaf_Set_a().
| void meshlib::Parabolaf::set_b | ( | value:f32 | ) |
Modifies a member variable of class MR::Parabolaf named b.
Calls MR_Parabolaf_Set_b().
| void meshlib::Parabolaf::set_c | ( | value:f32 | ) |
Modifies a member variable of class MR::Parabolaf named c.
Calls MR_Parabolaf_Set_c().