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

Public Member Functions

auto assign_from_another (_other:&meshlib::SubdivideFillingSettings) -> &mut meshlib::SubdivideFillingSettings
auto not_flippable () const -> *const *mut meshlib::ffi::MR_UndirectedEdgeBitSet
auto not_flippable_mut () -> *mut *mut meshlib::ffi::MR_UndirectedEdgeBitSet
void set_not_flippable (value:Option<&mut meshlib::UndirectedEdgeBitSet >)
auto max_edge_len () const -> &f32
auto max_edge_len_mut () -> &mut f32
void set_max_edge_len (value:f32)
auto max_edge_splits () const -> &core::ffi::c_int
auto max_edge_splits_mut () -> &mut core::ffi::c_int
void set_max_edge_splits (value:core::ffi::c_int)
auto max_angle_change_after_flip () const -> &f32
auto max_angle_change_after_flip_mut () -> &mut f32
void set_max_angle_change_after_flip (value:f32)
auto before_edge_split () const -> &meshlib::std_function_bool_from_MR_EdgeId
auto before_edge_split_mut () -> &mut meshlib::std_function_bool_from_MR_EdgeId
void set_before_edge_split (value:&meshlib::std_function_bool_from_MR_EdgeId)
auto on_edge_split () const -> &meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId
auto on_edge_split_mut () -> &mut meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId
void set_on_edge_split (value:&meshlib::std_function_void_from_MR_EdgeId_MR_EdgeId)

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

Detailed Description

Generated from class MR::SubdivideFillingSettings.

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

Member Function Documentation

◆ assign_from_another()

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.

◆ before_edge_split()

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.

◆ before_edge_split_mut()

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.

◆ construct_from()

auto meshlib::SubdivideFillingSettings::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

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.

◆ construct_from_another()

auto meshlib::SubdivideFillingSettings::construct_from_another ( _other:&meshlib::SubdivideFillingSettings ) -> meshlib::Owned< meshlib::SubdivideFillingSettings >
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.

◆ max_angle_change_after_flip()

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.

◆ max_angle_change_after_flip_mut()

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.

◆ max_edge_len()

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.

◆ max_edge_len_mut()

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.

◆ max_edge_splits()

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.

◆ max_edge_splits_mut()

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.

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_SubdivideFillingSettings_DefaultConstruct().

◆ not_flippable()

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.

◆ not_flippable_mut()

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.

◆ on_edge_split()

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.

◆ on_edge_split_mut()

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.

◆ set_before_edge_split()

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.

◆ set_max_angle_change_after_flip()

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().

◆ set_max_edge_len()

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().

◆ set_max_edge_splits()

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().

◆ set_not_flippable()

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.

◆ set_on_edge_split()

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.


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