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

Public Member Functions

auto assign_from_another (_other:&meshlib::ArcInterpolationParams) -> &mut meshlib::ArcInterpolationParams
auto eps () const -> &f32
auto eps_mut () -> &mut f32
void set_eps (value:f32)
auto max_radius () const -> &f32
auto max_radius_mut () -> &mut f32
void set_max_radius (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::ArcInterpolationParams >
static auto construct_from (eps:f32, maxRadius:f32, cb:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::ArcInterpolationParams >
static auto construct_from_another (_other:&meshlib::ArcInterpolationParams) -> meshlib::Owned< meshlib::ArcInterpolationParams >
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 arc interpolation of tool path segments Generated from class MR::ArcInterpolationParams.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ cb()

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

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

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

◆ cb_mut()

auto meshlib::ArcInterpolationParams::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::ArcInterpolationParams named cb.

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

◆ construct_from()

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

Constructs MR::ArcInterpolationParams elementwise.

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

◆ construct_from_another()

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

Generated from constructor MR::ArcInterpolationParams::ArcInterpolationParams.

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

◆ eps()

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

maximal deviation of arc from given path Returns a pointer to a member variable of class MR::ArcInterpolationParams named eps.

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

◆ eps_mut()

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

maximal deviation of arc from given path Returns a mutable pointer to a member variable of class MR::ArcInterpolationParams named eps.

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

◆ max_radius()

auto meshlib::ArcInterpolationParams::max_radius ( ) const -> &f32

maximal radius of the arc Returns a pointer to a member variable of class MR::ArcInterpolationParams named maxRadius.

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

◆ max_radius_mut()

auto meshlib::ArcInterpolationParams::max_radius_mut ( ) -> &mut f32

maximal radius of the arc Returns a mutable pointer to a member variable of class MR::ArcInterpolationParams named maxRadius.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_ArcInterpolationParams_DefaultConstruct().

◆ set_cb()

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

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

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

◆ set_eps()

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

maximal deviation of arc from given path Modifies a member variable of class MR::ArcInterpolationParams named eps.

Calls MR_ArcInterpolationParams_Set_eps().

◆ set_max_radius()

void meshlib::ArcInterpolationParams::set_max_radius ( value:f32 )

maximal radius of the arc Modifies a member variable of class MR::ArcInterpolationParams named maxRadius.

Calls MR_ArcInterpolationParams_Set_maxRadius().


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