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

Public Member Functions

auto assign_from_another (_other:&meshlib::LineInterpolationParams) -> &mut meshlib::LineInterpolationParams
auto eps () const -> &f32
auto eps_mut () -> &mut f32
void set_eps (value:f32)
auto max_length () const -> &f32
auto max_length_mut () -> &mut f32
void set_max_length (value:f32)
auto cb () const -> &meshlib::std_function_bool_from_float
auto cb_mut () -> &mut meshlib::std_function_bool_from_float
void set_cb (value:&meshlib::std_function_bool_from_float)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::LineInterpolationParams >
static auto construct_from (eps:f32, maxLength:f32, cb:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::LineInterpolationParams >
static auto construct_from_another (_other:&meshlib::LineInterpolationParams) -> meshlib::Owned< meshlib::LineInterpolationParams >
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

Tolerance parameters for linear interpolation of tool path segments Generated from class MR::LineInterpolationParams.

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

Member Function Documentation

◆ assign_from_another()

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

Generated from method MR::LineInterpolationParams::operator=.

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

◆ cb()

auto meshlib::LineInterpolationParams::cb ( ) const -> &meshlib::std_function_bool_from_float

callback for reporting on progress Returns a pointer to a member variable of class MR::LineInterpolationParams named cb.

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

◆ cb_mut()

auto meshlib::LineInterpolationParams::cb_mut ( ) -> &mut meshlib::std_function_bool_from_float

callback for reporting on progress Returns a mutable pointer to a member variable of class MR::LineInterpolationParams named cb.

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

◆ construct_from()

auto meshlib::LineInterpolationParams::construct_from ( eps:f32 ,
maxLength:f32 ,
cb:&meshlib::std_function_bool_from_float  ) -> meshlib::Owned< meshlib::LineInterpolationParams >
static

Constructs MR::LineInterpolationParams elementwise.

Calls MR_LineInterpolationParams_ConstructFrom(). The reference to the parameter cb might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::LineInterpolationParams::LineInterpolationParams.

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

◆ eps()

auto meshlib::LineInterpolationParams::eps ( ) const -> &f32

maximal deviation from given line Returns a pointer to a member variable of class MR::LineInterpolationParams named eps.

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

◆ eps_mut()

auto meshlib::LineInterpolationParams::eps_mut ( ) -> &mut f32

maximal deviation from given line Returns a mutable pointer to a member variable of class MR::LineInterpolationParams named eps.

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

◆ max_length()

auto meshlib::LineInterpolationParams::max_length ( ) const -> &f32

maximal length of the line Returns a pointer to a member variable of class MR::LineInterpolationParams named maxLength.

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

◆ max_length_mut()

auto meshlib::LineInterpolationParams::max_length_mut ( ) -> &mut f32

maximal length of the line Returns a mutable pointer to a member variable of class MR::LineInterpolationParams named maxLength.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_LineInterpolationParams_DefaultConstruct().

◆ set_cb()

void meshlib::LineInterpolationParams::set_cb ( value:&meshlib::std_function_bool_from_float )

callback for reporting on progress Modifies a member variable of class MR::LineInterpolationParams named cb.

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

◆ set_eps()

void meshlib::LineInterpolationParams::set_eps ( value:f32 )

maximal deviation from given line Modifies a member variable of class MR::LineInterpolationParams named eps.

Calls MR_LineInterpolationParams_Set_eps().

◆ set_max_length()

void meshlib::LineInterpolationParams::set_max_length ( value:f32 )

maximal length of the line Modifies a member variable of class MR::LineInterpolationParams named maxLength.

Calls MR_LineInterpolationParams_Set_maxLength().


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