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

Public Member Functions

auto assign_from_another (_other:&meshlib::OffsetContoursRestoreZParams) -> &mut meshlib::OffsetContoursRestoreZParams
auto z_callback () const -> &meshlib::std_function_float_from_const_std_vector_std_vector_MR_Vector2f_ref_const_MR_OffsetContourIndex_ref_const_MR_OffsetContoursOrigins_ref
auto z_callback_mut () -> &mut meshlib::std_function_float_from_const_std_vector_std_vector_MR_Vector2f_ref_const_MR_OffsetContourIndex_ref_const_MR_OffsetContoursOrigins_ref
void set_z_callback (value:&meshlib::std_function_float_from_const_std_vector_std_vector_MR_Vector2f_ref_const_MR_OffsetContourIndex_ref_const_MR_OffsetContoursOrigins_ref)
auto relax_iterations () const -> &core::ffi::c_int
auto relax_iterations_mut () -> &mut core::ffi::c_int
void set_relax_iterations (value:core::ffi::c_int)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::OffsetContoursRestoreZParams >
static auto construct_from (zCallback:&meshlib::std_function_float_from_const_std_vector_std_vector_MR_Vector2f_ref_const_MR_OffsetContourIndex_ref_const_MR_OffsetContoursOrigins_ref, relaxIterations:core::ffi::c_int) -> meshlib::Owned< meshlib::OffsetContoursRestoreZParams >
static auto construct_from_another (_other:&meshlib::OffsetContoursRestoreZParams) -> meshlib::Owned< meshlib::OffsetContoursRestoreZParams >
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

Parameters of restoring Z coordinate of XY offset 3d contours Generated from class MR::OffsetContoursRestoreZParams.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

Constructs MR::OffsetContoursRestoreZParams elementwise.

Calls MR_OffsetContoursRestoreZParams_ConstructFrom(). The reference to the parameter zCallback might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::OffsetContoursRestoreZParams::OffsetContoursRestoreZParams.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_OffsetContoursRestoreZParams_DefaultConstruct().

◆ relax_iterations()

auto meshlib::OffsetContoursRestoreZParams::relax_iterations ( ) const -> &core::ffi::c_int

if > 0 z coordinate will be relaxed this many iterations Returns a pointer to a member variable of class MR::OffsetContoursRestoreZParams named relaxIterations.

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

◆ relax_iterations_mut()

auto meshlib::OffsetContoursRestoreZParams::relax_iterations_mut ( ) -> &mut core::ffi::c_int

if > 0 z coordinate will be relaxed this many iterations Returns a mutable pointer to a member variable of class MR::OffsetContoursRestoreZParams named relaxIterations.

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

◆ set_relax_iterations()

void meshlib::OffsetContoursRestoreZParams::set_relax_iterations ( value:core::ffi::c_int )

if > 0 z coordinate will be relaxed this many iterations Modifies a member variable of class MR::OffsetContoursRestoreZParams named relaxIterations.

Calls MR_OffsetContoursRestoreZParams_Set_relaxIterations().

◆ set_z_callback()

Modifies a member variable of class MR::OffsetContoursRestoreZParams named zCallback.

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

◆ z_callback()

Returns a pointer to a member variable of class MR::OffsetContoursRestoreZParams named zCallback.

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

◆ z_callback_mut()

Returns a mutable pointer to a member variable of class MR::OffsetContoursRestoreZParams named zCallback.

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


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