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

Public Member Functions

auto assign_from_another (_other:&meshlib::PolynomialWrapper_float) -> &mut meshlib::PolynomialWrapper_float
auto call (x:f32) const -> f32
auto deriv () const -> meshlib::Owned< meshlib::PolynomialWrapper_float >
auto interval_min (a:f32, b:f32) const -> meshlib::Owned< meshlib::std_optional_float >
auto poly () const -> &meshlib::std_variant_MR_Polynomial_float_0_MR_Polynomial_float_1_MR_Polynomial_float_2_MR_Polynomial_float_3_MR_Polynomial_float_4_MR_Polynomial_float_5_MR_Polynomial_float_6
auto poly_mut () -> &mut meshlib::std_variant_MR_Polynomial_float_0_MR_Polynomial_float_1_MR_Polynomial_float_2_MR_Polynomial_float_3_MR_Polynomial_float_4_MR_Polynomial_float_5_MR_Polynomial_float_6
void set_poly (value:&meshlib::std_variant_MR_Polynomial_float_0_MR_Polynomial_float_1_MR_Polynomial_float_2_MR_Polynomial_float_3_MR_Polynomial_float_4_MR_Polynomial_float_5_MR_Polynomial_float_6)

Static Public Member Functions

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

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ call()

auto meshlib::PolynomialWrapper_float::call ( x:f32 ) const -> f32

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

Calls MR_PolynomialWrapper_float_call().

◆ construct_from_another()

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

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

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

◆ deriv()

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

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

Calls MR_PolynomialWrapper_float_deriv().

◆ interval_min()

auto meshlib::PolynomialWrapper_float::interval_min ( a:f32 ,
b:f32  ) const -> meshlib::Owned< meshlib::std_optional_float >

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

Calls MR_PolynomialWrapper_float_intervalMin().

◆ poly()

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

Calls MR_PolynomialWrapper_float_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<float> named poly.

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

◆ set_poly()

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

Calls MR_PolynomialWrapper_float_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: