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

Public Member Functions

auto assign_from_another (_other:&meshlib::UniteMeshNormalizationParams) -> &mut meshlib::UniteMeshNormalizationParams
auto expansion_ratio () const -> &f32
auto expansion_ratio_mut () -> &mut f32
void set_expansion_ratio (value:f32)
auto flip_inverted () const -> &bool
auto flip_inverted_mut () -> &mut bool
void set_flip_inverted (value:bool)
auto try_self_boolean () const -> &bool
auto try_self_boolean_mut () -> &mut bool
void set_try_self_boolean (value:bool)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::UniteMeshNormalizationParams >
static auto construct_from (expansionRatio:f32, flipInverted:bool, trySelfBoolean:bool) -> meshlib::Owned< meshlib::UniteMeshNormalizationParams >
static auto construct_from_another (_other:&meshlib::UniteMeshNormalizationParams) -> meshlib::Owned< meshlib::UniteMeshNormalizationParams >
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

Unite mesh normalization parameters also mandatory fill holes in case of forceCut || flipInverted Generated from class MR::UniteMeshNormalizationParams.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::UniteMeshNormalizationParams::construct_from ( expansionRatio:f32 ,
flipInverted:bool ,
trySelfBoolean:bool  ) -> meshlib::Owned< meshlib::UniteMeshNormalizationParams >
static

Constructs MR::UniteMeshNormalizationParams elementwise.

Calls MR_UniteMeshNormalizationParams_ConstructFrom().

◆ construct_from_another()

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

Generated from constructor MR::UniteMeshNormalizationParams::UniteMeshNormalizationParams.

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

◆ expansion_ratio()

auto meshlib::UniteMeshNormalizationParams::expansion_ratio ( ) const -> &f32

If !=0 each mesh is expanded on 1+expRatio around its own centroid Returns a pointer to a member variable of class MR::UniteMeshNormalizationParams named expansionRatio.

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

◆ expansion_ratio_mut()

auto meshlib::UniteMeshNormalizationParams::expansion_ratio_mut ( ) -> &mut f32

If !=0 each mesh is expanded on 1+expRatio around its own centroid Returns a mutable pointer to a member variable of class MR::UniteMeshNormalizationParams named expansionRatio.

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

◆ flip_inverted()

auto meshlib::UniteMeshNormalizationParams::flip_inverted ( ) const -> &bool

If enabled flips orientation of mesh with negative volume Returns a pointer to a member variable of class MR::UniteMeshNormalizationParams named flipInverted.

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

◆ flip_inverted_mut()

auto meshlib::UniteMeshNormalizationParams::flip_inverted_mut ( ) -> &mut bool

If enabled flips orientation of mesh with negative volume Returns a mutable pointer to a member variable of class MR::UniteMeshNormalizationParams named flipInverted.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_UniteMeshNormalizationParams_DefaultConstruct().

◆ set_expansion_ratio()

void meshlib::UniteMeshNormalizationParams::set_expansion_ratio ( value:f32 )

If !=0 each mesh is expanded on 1+expRatio around its own centroid Modifies a member variable of class MR::UniteMeshNormalizationParams named expansionRatio.

Calls MR_UniteMeshNormalizationParams_Set_expansionRatio().

◆ set_flip_inverted()

void meshlib::UniteMeshNormalizationParams::set_flip_inverted ( value:bool )

If enabled flips orientation of mesh with negative volume Modifies a member variable of class MR::UniteMeshNormalizationParams named flipInverted.

Calls MR_UniteMeshNormalizationParams_Set_flipInverted().

◆ set_try_self_boolean()

void meshlib::UniteMeshNormalizationParams::set_try_self_boolean ( value:bool )

Try experimental self-boolean for mesh not recommended yet TODO: update when self-boolean is finalized Modifies a member variable of class MR::UniteMeshNormalizationParams named trySelfBoolean.

Calls MR_UniteMeshNormalizationParams_Set_trySelfBoolean().

◆ try_self_boolean()

auto meshlib::UniteMeshNormalizationParams::try_self_boolean ( ) const -> &bool

Try experimental self-boolean for mesh not recommended yet TODO: update when self-boolean is finalized Returns a pointer to a member variable of class MR::UniteMeshNormalizationParams named trySelfBoolean.

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

◆ try_self_boolean_mut()

auto meshlib::UniteMeshNormalizationParams::try_self_boolean_mut ( ) -> &mut bool

Try experimental self-boolean for mesh not recommended yet TODO: update when self-boolean is finalized Returns a mutable pointer to a member variable of class MR::UniteMeshNormalizationParams named trySelfBoolean.

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


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