Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::polyline_components::LargeByLengthComponentsSettings) -> &mut meshlib::polyline_components::LargeByLengthComponentsSettings |
| auto | max_large_components () const -> &core::ffi::c_int |
| auto | max_large_components_mut () -> &mut core::ffi::c_int |
| void | set_max_large_components (value:core::ffi::c_int) |
| auto | num_smaller_components () const -> *const *mut core::ffi::c_int |
| auto | num_smaller_components_mut () -> *mut *mut core::ffi::c_int |
| void | set_num_smaller_components (value:Option<&mut core::ffi::c_int >) |
| auto | min_length () const -> &f32 |
| auto | min_length_mut () -> &mut f32 |
| void | set_min_length (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::polyline_components::LargeByLengthComponentsSettings > |
| static auto | construct_from (maxLargeComponents:core::ffi::c_int, numSmallerComponents:Option<&mut core::ffi::c_int >, minLength:f32) -> meshlib::Owned< meshlib::polyline_components::LargeByLengthComponentsSettings > |
| static auto | construct_from_another (_other:&meshlib::polyline_components::LargeByLengthComponentsSettings) -> meshlib::Owned< meshlib::polyline_components::LargeByLengthComponentsSettings > |
| 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 |
Generated from class MR::PolylineComponents::LargeByLengthComponentsSettings.
Generated from class MR::PolylineComponents::LargeByLengthComponentsSettings. Heap-allocated instances are held in Owned<LargeByLengthComponentsSettings>.
| auto meshlib::polyline_components::LargeByLengthComponentsSettings::assign_from_another | ( | _other:&meshlib::polyline_components::LargeByLengthComponentsSettings | ) | -> &mut meshlib::polyline_components::LargeByLengthComponentsSettings |
Generated from method MR::PolylineComponents::LargeByLengthComponentsSettings::operator=.
Calls MR_PolylineComponents_LargeByLengthComponentsSettings_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::PolylineComponents::LargeByLengthComponentsSettings elementwise.
Calls MR_PolylineComponents_LargeByLengthComponentsSettings_ConstructFrom(). The reference to the parameter numSmallerComponents might be preserved in the constructed object.
|
static |
Generated from constructor MR::PolylineComponents::LargeByLengthComponentsSettings::LargeByLengthComponentsSettings.
Calls MR_PolylineComponents_LargeByLengthComponentsSettings_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::polyline_components::LargeByLengthComponentsSettings::max_large_components | ( | ) | const -> &core::ffi::c_int |
return at most given number of largest by length connected components Returns a pointer to a member variable of class MR::PolylineComponents::LargeByLengthComponentsSettings named maxLargeComponents.
Calls MR_PolylineComponents_LargeByLengthComponentsSettings_Get_maxLargeComponents(). The reference to this object might be preserved as the return value.
| auto meshlib::polyline_components::LargeByLengthComponentsSettings::max_large_components_mut | ( | ) | -> &mut core::ffi::c_int |
return at most given number of largest by length connected components Returns a mutable pointer to a member variable of class MR::PolylineComponents::LargeByLengthComponentsSettings named maxLargeComponents.
Calls MR_PolylineComponents_LargeByLengthComponentsSettings_GetMutable_maxLargeComponents(). The reference to this object might be preserved as the return value.
| auto meshlib::polyline_components::LargeByLengthComponentsSettings::min_length | ( | ) | const -> &f32 |
do not consider a component large if its length is below this value Returns a pointer to a member variable of class MR::PolylineComponents::LargeByLengthComponentsSettings named minLength.
Calls MR_PolylineComponents_LargeByLengthComponentsSettings_Get_minLength(). The reference to this object might be preserved as the return value.
| auto meshlib::polyline_components::LargeByLengthComponentsSettings::min_length_mut | ( | ) | -> &mut f32 |
do not consider a component large if its length is below this value Returns a mutable pointer to a member variable of class MR::PolylineComponents::LargeByLengthComponentsSettings named minLength.
Calls MR_PolylineComponents_LargeByLengthComponentsSettings_GetMutable_minLength(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_PolylineComponents_LargeByLengthComponentsSettings_DefaultConstruct().
| auto meshlib::polyline_components::LargeByLengthComponentsSettings::num_smaller_components | ( | ) | const -> *const *mut core::ffi::c_int |
optional output: the number of components in addition to returned ones Returns a pointer to a member variable of class MR::PolylineComponents::LargeByLengthComponentsSettings named numSmallerComponents.
Calls MR_PolylineComponents_LargeByLengthComponentsSettings_Get_numSmallerComponents(). 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.
| auto meshlib::polyline_components::LargeByLengthComponentsSettings::num_smaller_components_mut | ( | ) | -> *mut *mut core::ffi::c_int |
optional output: the number of components in addition to returned ones Returns a mutable pointer to a member variable of class MR::PolylineComponents::LargeByLengthComponentsSettings named numSmallerComponents.
Calls MR_PolylineComponents_LargeByLengthComponentsSettings_GetMutable_numSmallerComponents(). 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.
| void meshlib::polyline_components::LargeByLengthComponentsSettings::set_max_large_components | ( | value:core::ffi::c_int | ) |
return at most given number of largest by length connected components Modifies a member variable of class MR::PolylineComponents::LargeByLengthComponentsSettings named maxLargeComponents.
Calls MR_PolylineComponents_LargeByLengthComponentsSettings_Set_maxLargeComponents().
| void meshlib::polyline_components::LargeByLengthComponentsSettings::set_min_length | ( | value:f32 | ) |
do not consider a component large if its length is below this value Modifies a member variable of class MR::PolylineComponents::LargeByLengthComponentsSettings named minLength.
Calls MR_PolylineComponents_LargeByLengthComponentsSettings_Set_minLength().
| void meshlib::polyline_components::LargeByLengthComponentsSettings::set_num_smaller_components | ( | value:Option<&mut core::ffi::c_int > | ) |
optional output: the number of components in addition to returned ones Modifies a member variable of class MR::PolylineComponents::LargeByLengthComponentsSettings named numSmallerComponents.
Calls MR_PolylineComponents_LargeByLengthComponentsSettings_Set_numSmallerComponents(). The reference to the parameter value might be preserved in this object in element numSmallerComponents.