MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::Parabolad:

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

Detailed Description

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>.

Member Function Documentation

◆ a()

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.

◆ a_mut()

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.

◆ assign_from_another()

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.

◆ b()

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.

◆ b_mut()

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.

◆ c()

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.

◆ c_mut()

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.

◆ call()

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().

◆ construct()

auto meshlib::Parabolad::construct ( a:f64 ,
b:f64 ,
c:f64  ) -> meshlib::Owned< meshlib::Parabolad >
static

Generated from constructor MR::Parabolad::Parabolad.

Calls MR_Parabolad_Construct().

◆ construct_from_another()

auto meshlib::Parabolad::construct_from_another ( _other:&meshlib::Parabolad ) -> meshlib::Owned< meshlib::Parabolad >
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.

◆ extrem_arg()

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().

◆ extrem_val()

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().

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_Parabolad_DefaultConstruct().

◆ set_a()

void meshlib::Parabolad::set_a ( value:f64 )

Modifies a member variable of class MR::Parabolad named a.

Calls MR_Parabolad_Set_a().

◆ set_b()

void meshlib::Parabolad::set_b ( value:f64 )

Modifies a member variable of class MR::Parabolad named b.

Calls MR_Parabolad_Set_b().

◆ set_c()

void meshlib::Parabolad::set_c ( value:f64 )

Modifies a member variable of class MR::Parabolad named c.

Calls MR_Parabolad_Set_c().


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