MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::PolynomialWrapper_double Struct Reference
Inheritance diagram for meshlib::PolynomialWrapper_double:

Public Member Functions

auto assign_from_another (_other:&meshlib::PolynomialWrapper_double) -> &mut meshlib::PolynomialWrapper_double
auto call (x:f64) const -> f64
auto deriv () const -> meshlib::Owned< meshlib::PolynomialWrapper_double >
auto interval_min (a:f64, b:f64) const -> meshlib::Owned< meshlib::std_optional_double >
auto poly () const -> &meshlib::std_variant_MR_Polynomial_double_0_MR_Polynomial_double_1_MR_Polynomial_double_2_MR_Polynomial_double_3_MR_Polynomial_double_4_MR_Polynomial_double_5_MR_Polynomial_double_6
auto poly_mut () -> &mut meshlib::std_variant_MR_Polynomial_double_0_MR_Polynomial_double_1_MR_Polynomial_double_2_MR_Polynomial_double_3_MR_Polynomial_double_4_MR_Polynomial_double_5_MR_Polynomial_double_6
void set_poly (value:&meshlib::std_variant_MR_Polynomial_double_0_MR_Polynomial_double_1_MR_Polynomial_double_2_MR_Polynomial_double_3_MR_Polynomial_double_4_MR_Polynomial_double_5_MR_Polynomial_double_6)

Static Public Member Functions

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

This is a unifying interface for a polynomial of some degree, known only in runtime Generated from class MR::PolynomialWrapper<double>.

Generated from class MR::PolynomialWrapper<double>. Heap-allocated instances are held in Owned<PolynomialWrapper_double>.

Member Function Documentation

◆ assign_from_another()

auto meshlib::PolynomialWrapper_double::assign_from_another ( _other:&meshlib::PolynomialWrapper_double ) -> &mut meshlib::PolynomialWrapper_double

Generated from method MR::PolynomialWrapper<double>::operator=.

Calls MR_PolynomialWrapper_double_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ call()

auto meshlib::PolynomialWrapper_double::call ( x:f64 ) const -> f64

Generated from method MR::PolynomialWrapper<double>::operator().

Calls MR_PolynomialWrapper_double_call().

◆ construct_from_another()

auto meshlib::PolynomialWrapper_double::construct_from_another ( _other:&meshlib::PolynomialWrapper_double ) -> meshlib::Owned< meshlib::PolynomialWrapper_double >
static

Generated from constructor MR::PolynomialWrapper<double>::PolynomialWrapper.

Calls MR_PolynomialWrapper_double_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ deriv()

auto meshlib::PolynomialWrapper_double::deriv ( ) const -> meshlib::Owned< meshlib::PolynomialWrapper_double >

Generated from method MR::PolynomialWrapper<double>::deriv.

Calls MR_PolynomialWrapper_double_deriv().

◆ interval_min()

auto meshlib::PolynomialWrapper_double::interval_min ( a:f64 ,
b:f64  ) const -> meshlib::Owned< meshlib::std_optional_double >

Generated from method MR::PolynomialWrapper<double>::intervalMin.

Calls MR_PolynomialWrapper_double_intervalMin().

◆ poly()

Returns a pointer to a member variable of class MR::PolynomialWrapper<double> named poly.

Calls MR_PolynomialWrapper_double_Get_poly(). The reference to this object might be preserved as the return value.

◆ poly_mut()

Returns a mutable pointer to a member variable of class MR::PolynomialWrapper<double> named poly.

Calls MR_PolynomialWrapper_double_GetMutable_poly(). The reference to this object might be preserved as the return value.

◆ set_poly()

Modifies a member variable of class MR::PolynomialWrapper<double> named poly.

Calls MR_PolynomialWrapper_double_Set_poly(). The reference to the parameter value might be preserved in this object in element poly.


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