Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::SubdivideFillingSettings > |
| static auto | construct_from (notFlippable:Option<&mut meshlib::UndirectedEdgeBitSet >, maxEdgeLen:f32, maxEdgeSplits:core::ffi::c_int, maxAngleChangeAfterFlip:f32, beforeEdgeSplit:&meshlib::std_function_bool_from_MR_EdgeId, onEdgeSplit:&meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId) -> meshlib::Owned< meshlib::SubdivideFillingSettings > |
| static auto | construct_from_another (_other:&meshlib::SubdivideFillingSettings) -> meshlib::Owned< meshlib::SubdivideFillingSettings > |
| 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::SubdivideFillingSettings.
Generated from class MR::SubdivideFillingSettings. Heap-allocated instances are held in Owned<SubdivideFillingSettings>.
| auto meshlib::SubdivideFillingSettings::assign_from_another | ( | _other:&meshlib::SubdivideFillingSettings | ) | -> &mut meshlib::SubdivideFillingSettings |
Generated from method MR::SubdivideFillingSettings::operator=.
Calls MR_SubdivideFillingSettings_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::SubdivideFillingSettings::before_edge_split | ( | ) | const -> &meshlib::std_function_bool_from_MR_EdgeId |
(If this is set) this function is called in subdivision each time edge (e) is going to split, if it returns false then this split will be skipped Returns a pointer to a member variable of class MR::SubdivideFillingSettings named beforeEdgeSplit.
Calls MR_SubdivideFillingSettings_Get_beforeEdgeSplit(). The reference to this object might be preserved as the return value.
| auto meshlib::SubdivideFillingSettings::before_edge_split_mut | ( | ) | -> &mut meshlib::std_function_bool_from_MR_EdgeId |
(If this is set) this function is called in subdivision each time edge (e) is going to split, if it returns false then this split will be skipped Returns a mutable pointer to a member variable of class MR::SubdivideFillingSettings named beforeEdgeSplit.
Calls MR_SubdivideFillingSettings_GetMutable_beforeEdgeSplit(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::SubdivideFillingSettings elementwise.
Calls MR_SubdivideFillingSettings_ConstructFrom(). The reference to the parameter notFlippable might be preserved in the constructed object. The reference to the parameter beforeEdgeSplit might be preserved in the constructed object. The reference to the parameter onEdgeSplit might be preserved in the constructed object.
|
static |
Generated from constructor MR::SubdivideFillingSettings::SubdivideFillingSettings.
Calls MR_SubdivideFillingSettings_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::SubdivideFillingSettings::max_angle_change_after_flip | ( | ) | const -> &f32 |
Improves local mesh triangulation by doing edge flips if it does not change dihedral angle more than on this value (in radians) Returns a pointer to a member variable of class MR::SubdivideFillingSettings named maxAngleChangeAfterFlip.
Calls MR_SubdivideFillingSettings_Get_maxAngleChangeAfterFlip(). The reference to this object might be preserved as the return value.
| auto meshlib::SubdivideFillingSettings::max_angle_change_after_flip_mut | ( | ) | -> &mut f32 |
Improves local mesh triangulation by doing edge flips if it does not change dihedral angle more than on this value (in radians) Returns a mutable pointer to a member variable of class MR::SubdivideFillingSettings named maxAngleChangeAfterFlip.
Calls MR_SubdivideFillingSettings_GetMutable_maxAngleChangeAfterFlip(). The reference to this object might be preserved as the return value.
| auto meshlib::SubdivideFillingSettings::max_edge_len | ( | ) | const -> &f32 |
Subdivision is stopped when all edges inside or on the boundary of the region are not longer than this value Returns a pointer to a member variable of class MR::SubdivideFillingSettings named maxEdgeLen.
Calls MR_SubdivideFillingSettings_Get_maxEdgeLen(). The reference to this object might be preserved as the return value.
| auto meshlib::SubdivideFillingSettings::max_edge_len_mut | ( | ) | -> &mut f32 |
Subdivision is stopped when all edges inside or on the boundary of the region are not longer than this value Returns a mutable pointer to a member variable of class MR::SubdivideFillingSettings named maxEdgeLen.
Calls MR_SubdivideFillingSettings_GetMutable_maxEdgeLen(). The reference to this object might be preserved as the return value.
| auto meshlib::SubdivideFillingSettings::max_edge_splits | ( | ) | const -> &core::ffi::c_int |
Maximum number of edge splits allowed during subdivision Returns a pointer to a member variable of class MR::SubdivideFillingSettings named maxEdgeSplits.
Calls MR_SubdivideFillingSettings_Get_maxEdgeSplits(). The reference to this object might be preserved as the return value.
| auto meshlib::SubdivideFillingSettings::max_edge_splits_mut | ( | ) | -> &mut core::ffi::c_int |
Maximum number of edge splits allowed during subdivision Returns a mutable pointer to a member variable of class MR::SubdivideFillingSettings named maxEdgeSplits.
Calls MR_SubdivideFillingSettings_GetMutable_maxEdgeSplits(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_SubdivideFillingSettings_DefaultConstruct().
| auto meshlib::SubdivideFillingSettings::not_flippable | ( | ) | const -> *const *mut meshlib::ffi::MR_UndirectedEdgeBitSet |
in triangulateOnly = false mode, edges specified by this bit-set will never be flipped, but they can be split so it is updated during the operation Returns a pointer to a member variable of class MR::SubdivideFillingSettings named notFlippable.
Calls MR_SubdivideFillingSettings_Get_notFlippable(). 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::SubdivideFillingSettings::not_flippable_mut | ( | ) | -> *mut *mut meshlib::ffi::MR_UndirectedEdgeBitSet |
in triangulateOnly = false mode, edges specified by this bit-set will never be flipped, but they can be split so it is updated during the operation Returns a mutable pointer to a member variable of class MR::SubdivideFillingSettings named notFlippable.
Calls MR_SubdivideFillingSettings_GetMutable_notFlippable(). 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::SubdivideFillingSettings::on_edge_split | ( | ) | const -> &meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId |
(If this is set) this function is called in subdivision each time edge (e) is split into (e1->e), but before the ring is made Delone Returns a pointer to a member variable of class MR::SubdivideFillingSettings named onEdgeSplit.
Calls MR_SubdivideFillingSettings_Get_onEdgeSplit(). The reference to this object might be preserved as the return value.
| auto meshlib::SubdivideFillingSettings::on_edge_split_mut | ( | ) | -> &mut meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId |
(If this is set) this function is called in subdivision each time edge (e) is split into (e1->e), but before the ring is made Delone Returns a mutable pointer to a member variable of class MR::SubdivideFillingSettings named onEdgeSplit.
Calls MR_SubdivideFillingSettings_GetMutable_onEdgeSplit(). The reference to this object might be preserved as the return value.
| void meshlib::SubdivideFillingSettings::set_before_edge_split | ( | value:&meshlib::std_function_bool_from_MR_EdgeId | ) |
(If this is set) this function is called in subdivision each time edge (e) is going to split, if it returns false then this split will be skipped Modifies a member variable of class MR::SubdivideFillingSettings named beforeEdgeSplit.
Calls MR_SubdivideFillingSettings_Set_beforeEdgeSplit(). The reference to the parameter value might be preserved in this object in element beforeEdgeSplit.
| void meshlib::SubdivideFillingSettings::set_max_angle_change_after_flip | ( | value:f32 | ) |
Improves local mesh triangulation by doing edge flips if it does not change dihedral angle more than on this value (in radians) Modifies a member variable of class MR::SubdivideFillingSettings named maxAngleChangeAfterFlip.
Calls MR_SubdivideFillingSettings_Set_maxAngleChangeAfterFlip().
| void meshlib::SubdivideFillingSettings::set_max_edge_len | ( | value:f32 | ) |
Subdivision is stopped when all edges inside or on the boundary of the region are not longer than this value Modifies a member variable of class MR::SubdivideFillingSettings named maxEdgeLen.
Calls MR_SubdivideFillingSettings_Set_maxEdgeLen().
| void meshlib::SubdivideFillingSettings::set_max_edge_splits | ( | value:core::ffi::c_int | ) |
Maximum number of edge splits allowed during subdivision Modifies a member variable of class MR::SubdivideFillingSettings named maxEdgeSplits.
Calls MR_SubdivideFillingSettings_Set_maxEdgeSplits().
| void meshlib::SubdivideFillingSettings::set_not_flippable | ( | value:Option<&mut meshlib::UndirectedEdgeBitSet > | ) |
in triangulateOnly = false mode, edges specified by this bit-set will never be flipped, but they can be split so it is updated during the operation Modifies a member variable of class MR::SubdivideFillingSettings named notFlippable.
Calls MR_SubdivideFillingSettings_Set_notFlippable(). The reference to the parameter value might be preserved in this object in element notFlippable.
| void meshlib::SubdivideFillingSettings::set_on_edge_split | ( | value:&meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId | ) |
(If this is set) this function is called in subdivision each time edge (e) is split into (e1->e), but before the ring is made Delone Modifies a member variable of class MR::SubdivideFillingSettings named onEdgeSplit.
Calls MR_SubdivideFillingSettings_Set_onEdgeSplit(). The reference to the parameter value might be preserved in this object in element onEdgeSplit.