Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::Parabolad) -> &mut meshlib::Parabolad |
| auto | call (x:f64) const -> f64 |
| auto | extrem_arg () const -> f64 |
| auto | extrem_val () const -> f64 |
| auto | a () const -> &f64 |
| auto | a_mut () -> &mut f64 |
| void | set_a (value:f64) |
| auto | b () const -> &f64 |
| auto | b_mut () -> &mut f64 |
| void | set_b (value:f64) |
| auto | c () const -> &f64 |
| auto | c_mut () -> &mut f64 |
| void | set_c (value:f64) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::Parabolad > |
| static auto | construct_from_another (_other:&meshlib::Parabolad) -> meshlib::Owned< meshlib::Parabolad > |
| static auto | construct (a:f64, b:f64, c:f64) -> meshlib::Owned< meshlib::Parabolad > |
| 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::Parabolad.
Generated from class MR::Parabolad. Heap-allocated instances are held in Owned<Parabolad>.
| auto meshlib::Parabolad::a | ( | ) | const -> &f64 |
Returns a pointer to a member variable of class MR::Parabolad named a.
Calls MR_Parabolad_Get_a(). The reference to this object might be preserved as the return value.
| auto meshlib::Parabolad::a_mut | ( | ) | -> &mut f64 |
Returns a mutable pointer to a member variable of class MR::Parabolad named a.
Calls MR_Parabolad_GetMutable_a(). The reference to this object might be preserved as the return value.
| auto meshlib::Parabolad::assign_from_another | ( | _other:&meshlib::Parabolad | ) | -> &mut meshlib::Parabolad |
Generated from method MR::Parabolad::operator=.
Calls MR_Parabolad_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::Parabolad::b | ( | ) | const -> &f64 |
Returns a pointer to a member variable of class MR::Parabolad named b.
Calls MR_Parabolad_Get_b(). The reference to this object might be preserved as the return value.
| auto meshlib::Parabolad::b_mut | ( | ) | -> &mut f64 |
Returns a mutable pointer to a member variable of class MR::Parabolad named b.
Calls MR_Parabolad_GetMutable_b(). The reference to this object might be preserved as the return value.
| auto meshlib::Parabolad::c | ( | ) | const -> &f64 |
Returns a pointer to a member variable of class MR::Parabolad named c.
Calls MR_Parabolad_Get_c(). The reference to this object might be preserved as the return value.
| auto meshlib::Parabolad::c_mut | ( | ) | -> &mut f64 |
Returns a mutable pointer to a member variable of class MR::Parabolad named c.
Calls MR_Parabolad_GetMutable_c(). The reference to this object might be preserved as the return value.
| auto meshlib::Parabolad::call | ( | x:f64 | ) | const -> f64 |
compute value of quadratic function at any x Generated from method MR::Parabolad::operator().
Calls MR_Parabolad_call().
|
static |
Generated from constructor MR::Parabolad::Parabolad.
Calls MR_Parabolad_Construct().
|
static |
Generated from constructor MR::Parabolad::Parabolad.
Calls MR_Parabolad_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::Parabolad::extrem_arg | ( | ) | const -> f64 |
argument (x) where parabola reaches extremal value: minimum for a > 0, maximum for a < 0 Generated from method MR::Parabolad::extremArg.
Calls MR_Parabolad_extremArg().
| auto meshlib::Parabolad::extrem_val | ( | ) | const -> f64 |
value (y) where parabola reaches extremal value: minimum for a > 0, maximum for a < 0 Generated from method MR::Parabolad::extremVal.
Calls MR_Parabolad_extremVal().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Parabolad_DefaultConstruct().
| void meshlib::Parabolad::set_a | ( | value:f64 | ) |
Modifies a member variable of class MR::Parabolad named a.
Calls MR_Parabolad_Set_a().
| void meshlib::Parabolad::set_b | ( | value:f64 | ) |
Modifies a member variable of class MR::Parabolad named b.
Calls MR_Parabolad_Set_b().
| void meshlib::Parabolad::set_c | ( | value:f64 | ) |
Modifies a member variable of class MR::Parabolad named c.
Calls MR_Parabolad_Set_c().