Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::mesh_components::LargeByAreaComponentsSettings) -> &mut meshlib::mesh_components::LargeByAreaComponentsSettings |
| 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_area () const -> &f32 |
| auto | min_area_mut () -> &mut f32 |
| void | set_min_area (value:f32) |
| auto | is_comp_bd () const -> *const *const meshlib::ffi::MR_UndirectedEdgeBitSet |
| auto | is_comp_bd_mut () -> *mut *const meshlib::ffi::MR_UndirectedEdgeBitSet |
| void | set_is_comp_bd (value:Option<&meshlib::UndirectedEdgeBitSet >) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::mesh_components::LargeByAreaComponentsSettings > |
| static auto | construct_from (maxLargeComponents:core::ffi::c_int, numSmallerComponents:Option<&mut core::ffi::c_int >, minArea:f32, isCompBd:Option<&meshlib::UndirectedEdgeBitSet >) -> meshlib::Owned< meshlib::mesh_components::LargeByAreaComponentsSettings > |
| static auto | construct_from_another (_other:&meshlib::mesh_components::LargeByAreaComponentsSettings) -> meshlib::Owned< meshlib::mesh_components::LargeByAreaComponentsSettings > |
| 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::MeshComponents::LargeByAreaComponentsSettings.
Generated from class MR::MeshComponents::LargeByAreaComponentsSettings. Heap-allocated instances are held in Owned<LargeByAreaComponentsSettings>.
| auto meshlib::mesh_components::LargeByAreaComponentsSettings::assign_from_another | ( | _other:&meshlib::mesh_components::LargeByAreaComponentsSettings | ) | -> &mut meshlib::mesh_components::LargeByAreaComponentsSettings |
Generated from method MR::MeshComponents::LargeByAreaComponentsSettings::operator=.
Calls MR_MeshComponents_LargeByAreaComponentsSettings_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::MeshComponents::LargeByAreaComponentsSettings elementwise.
Calls MR_MeshComponents_LargeByAreaComponentsSettings_ConstructFrom(). The reference to the parameter numSmallerComponents might be preserved in the constructed object. The reference to the parameter isCompBd might be preserved in the constructed object.
|
static |
Generated from constructor MR::MeshComponents::LargeByAreaComponentsSettings::LargeByAreaComponentsSettings.
Calls MR_MeshComponents_LargeByAreaComponentsSettings_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::mesh_components::LargeByAreaComponentsSettings::is_comp_bd | ( | ) | const -> *const *const meshlib::ffi::MR_UndirectedEdgeBitSet |
optional predicate of boundaries between components Returns a pointer to a member variable of class MR::MeshComponents::LargeByAreaComponentsSettings named isCompBd.
Calls MR_MeshComponents_LargeByAreaComponentsSettings_Get_isCompBd(). 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::mesh_components::LargeByAreaComponentsSettings::is_comp_bd_mut | ( | ) | -> *mut *const meshlib::ffi::MR_UndirectedEdgeBitSet |
optional predicate of boundaries between components Returns a mutable pointer to a member variable of class MR::MeshComponents::LargeByAreaComponentsSettings named isCompBd.
Calls MR_MeshComponents_LargeByAreaComponentsSettings_GetMutable_isCompBd(). 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::mesh_components::LargeByAreaComponentsSettings::max_large_components | ( | ) | const -> &core::ffi::c_int |
return at most given number of largest by area connected components Returns a pointer to a member variable of class MR::MeshComponents::LargeByAreaComponentsSettings named maxLargeComponents.
Calls MR_MeshComponents_LargeByAreaComponentsSettings_Get_maxLargeComponents(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_components::LargeByAreaComponentsSettings::max_large_components_mut | ( | ) | -> &mut core::ffi::c_int |
return at most given number of largest by area connected components Returns a mutable pointer to a member variable of class MR::MeshComponents::LargeByAreaComponentsSettings named maxLargeComponents.
Calls MR_MeshComponents_LargeByAreaComponentsSettings_GetMutable_maxLargeComponents(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_components::LargeByAreaComponentsSettings::min_area | ( | ) | const -> &f32 |
do not consider a component large if its area is below this value Returns a pointer to a member variable of class MR::MeshComponents::LargeByAreaComponentsSettings named minArea.
Calls MR_MeshComponents_LargeByAreaComponentsSettings_Get_minArea(). The reference to this object might be preserved as the return value.
| auto meshlib::mesh_components::LargeByAreaComponentsSettings::min_area_mut | ( | ) | -> &mut f32 |
do not consider a component large if its area is below this value Returns a mutable pointer to a member variable of class MR::MeshComponents::LargeByAreaComponentsSettings named minArea.
Calls MR_MeshComponents_LargeByAreaComponentsSettings_GetMutable_minArea(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_MeshComponents_LargeByAreaComponentsSettings_DefaultConstruct().
| auto meshlib::mesh_components::LargeByAreaComponentsSettings::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::MeshComponents::LargeByAreaComponentsSettings named numSmallerComponents.
Calls MR_MeshComponents_LargeByAreaComponentsSettings_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::mesh_components::LargeByAreaComponentsSettings::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::MeshComponents::LargeByAreaComponentsSettings named numSmallerComponents.
Calls MR_MeshComponents_LargeByAreaComponentsSettings_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::mesh_components::LargeByAreaComponentsSettings::set_is_comp_bd | ( | value:Option<&meshlib::UndirectedEdgeBitSet > | ) |
optional predicate of boundaries between components Modifies a member variable of class MR::MeshComponents::LargeByAreaComponentsSettings named isCompBd.
Calls MR_MeshComponents_LargeByAreaComponentsSettings_Set_isCompBd(). The reference to the parameter value might be preserved in this object in element isCompBd.
| void meshlib::mesh_components::LargeByAreaComponentsSettings::set_max_large_components | ( | value:core::ffi::c_int | ) |
return at most given number of largest by area connected components Modifies a member variable of class MR::MeshComponents::LargeByAreaComponentsSettings named maxLargeComponents.
Calls MR_MeshComponents_LargeByAreaComponentsSettings_Set_maxLargeComponents().
| void meshlib::mesh_components::LargeByAreaComponentsSettings::set_min_area | ( | value:f32 | ) |
do not consider a component large if its area is below this value Modifies a member variable of class MR::MeshComponents::LargeByAreaComponentsSettings named minArea.
Calls MR_MeshComponents_LargeByAreaComponentsSettings_Set_minArea().
| void meshlib::mesh_components::LargeByAreaComponentsSettings::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::MeshComponents::LargeByAreaComponentsSettings named numSmallerComponents.
Calls MR_MeshComponents_LargeByAreaComponentsSettings_Set_numSmallerComponents(). The reference to the parameter value might be preserved in this object in element numSmallerComponents.