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

Public Member Functions

auto assign_from_another (_other:&meshlib::FaceDistancesSettings) -> &mut meshlib::FaceDistancesSettings
auto out () const -> &meshlib::FaceDistancesSettings_OutputFaceValues
auto out_mut () -> &mut meshlib::FaceDistancesSettings_OutputFaceValues
void set_out (value:meshlib::FaceDistancesSettings_OutputFaceValues)
auto max_dist () const -> *const *mut f32
auto max_dist_mut () -> *mut *mut f32
void set_max_dist (value:Option<&mut f32 >)
auto progress () const -> &meshlib::std_function_bool_from_float
auto progress_mut () -> &mut meshlib::std_function_bool_from_float
void set_progress (value:&meshlib::std_function_bool_from_float)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::FaceDistancesSettings >
static auto construct_from (out:meshlib::FaceDistancesSettings_OutputFaceValues, maxDist:Option<&mut f32 >, progress:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::FaceDistancesSettings >
static auto construct_from_another (_other:&meshlib::FaceDistancesSettings) -> meshlib::Owned< meshlib::FaceDistancesSettings >
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

Generated from class MR::FaceDistancesSettings.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::FaceDistancesSettings::construct_from ( out:meshlib::FaceDistancesSettings_OutputFaceValues ,
maxDist:Option<&mut f32 > ,
progress:&meshlib::std_function_bool_from_float  ) -> meshlib::Owned< meshlib::FaceDistancesSettings >
static

Constructs MR::FaceDistancesSettings elementwise.

Calls MR_FaceDistancesSettings_ConstructFrom(). The reference to the parameter out might be preserved in the constructed object. The reference to the parameter maxDist might be preserved in the constructed object. The reference to the parameter progress might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::FaceDistancesSettings::FaceDistancesSettings.

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

◆ max_dist()

auto meshlib::FaceDistancesSettings::max_dist ( ) const -> *const *mut f32

optional output of the maximal distance to the most distant face Returns a pointer to a member variable of class MR::FaceDistancesSettings named maxDist.

Calls MR_FaceDistancesSettings_Get_maxDist(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ max_dist_mut()

auto meshlib::FaceDistancesSettings::max_dist_mut ( ) -> *mut *mut f32

optional output of the maximal distance to the most distant face Returns a mutable pointer to a member variable of class MR::FaceDistancesSettings named maxDist.

Calls MR_FaceDistancesSettings_GetMutable_maxDist(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_FaceDistancesSettings_DefaultConstruct().

◆ out()

auto meshlib::FaceDistancesSettings::out ( ) const -> &meshlib::FaceDistancesSettings_OutputFaceValues

Returns a pointer to a member variable of class MR::FaceDistancesSettings named out.

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

◆ out_mut()

auto meshlib::FaceDistancesSettings::out_mut ( ) -> &mut meshlib::FaceDistancesSettings_OutputFaceValues

Returns a mutable pointer to a member variable of class MR::FaceDistancesSettings named out.

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

◆ progress()

auto meshlib::FaceDistancesSettings::progress ( ) const -> &meshlib::std_function_bool_from_float

for progress reporting and cancellation Returns a pointer to a member variable of class MR::FaceDistancesSettings named progress.

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

◆ progress_mut()

auto meshlib::FaceDistancesSettings::progress_mut ( ) -> &mut meshlib::std_function_bool_from_float

for progress reporting and cancellation Returns a mutable pointer to a member variable of class MR::FaceDistancesSettings named progress.

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

◆ set_max_dist()

void meshlib::FaceDistancesSettings::set_max_dist ( value:Option<&mut f32 > )

optional output of the maximal distance to the most distant face Modifies a member variable of class MR::FaceDistancesSettings named maxDist.

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

◆ set_out()

void meshlib::FaceDistancesSettings::set_out ( value:meshlib::FaceDistancesSettings_OutputFaceValues )

Modifies a member variable of class MR::FaceDistancesSettings named out.

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

◆ set_progress()

void meshlib::FaceDistancesSettings::set_progress ( value:&meshlib::std_function_bool_from_float )

for progress reporting and cancellation Modifies a member variable of class MR::FaceDistancesSettings named progress.

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


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