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

Public Member Functions

auto assign_from_another (_other:&meshlib::mesh_builder::UniteCloseParams) -> &mut meshlib::mesh_builder::UniteCloseParams
auto close_dist () const -> &f32
auto close_dist_mut () -> &mut f32
void set_close_dist (value:f32)
auto unite_only_bd () const -> &bool
auto unite_only_bd_mut () -> &mut bool
void set_unite_only_bd (value:bool)
auto region () const -> *const *mut meshlib::ffi::MR_VertBitSet
auto region_mut () -> *mut *mut meshlib::ffi::MR_VertBitSet
void set_region (value:Option<&mut meshlib::VertBitSet >)
auto duplicate_non_manifold () const -> &bool
auto duplicate_non_manifold_mut () -> &mut bool
void set_duplicate_non_manifold (value:bool)
auto optional_vert_old_to_new () const -> *const *mut meshlib::ffi::MR_VertMap
auto optional_vert_old_to_new_mut () -> *mut *mut meshlib::ffi::MR_VertMap
void set_optional_vert_old_to_new (value:Option<&mut meshlib::VertMap >)
auto optional_duplications () const -> *const *mut meshlib::ffi::MR_std_vector_MR_MeshBuilder_VertDuplication
auto optional_duplications_mut () -> *mut *mut meshlib::ffi::MR_std_vector_MR_MeshBuilder_VertDuplication
void set_optional_duplications (value:Option<&mut meshlib::std_vector_MR_MeshBuilder_VertDuplication >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::mesh_builder::UniteCloseParams >
static auto construct_from (closeDist:f32, uniteOnlyBd:bool, region:Option<&mut meshlib::VertBitSet >, duplicateNonManifold:bool, optionalVertOldToNew:Option<&mut meshlib::VertMap >, optionalDuplications:Option<&mut meshlib::std_vector_MR_MeshBuilder_VertDuplication >) -> meshlib::Owned< meshlib::mesh_builder::UniteCloseParams >
static auto construct_from_another (_other:&meshlib::mesh_builder::UniteCloseParams) -> meshlib::Owned< meshlib::mesh_builder::UniteCloseParams >
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::MeshBuilder::UniteCloseParams.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::mesh_builder::UniteCloseParams::assign_from_another ( _other:&meshlib::mesh_builder::UniteCloseParams ) -> &mut meshlib::mesh_builder::UniteCloseParams

Generated from method MR::MeshBuilder::UniteCloseParams::operator=.

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

◆ close_dist()

auto meshlib::mesh_builder::UniteCloseParams::close_dist ( ) const -> &f32

vertices located closer to each other than this distance will be united Returns a pointer to a member variable of class MR::MeshBuilder::UniteCloseParams named closeDist.

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

◆ close_dist_mut()

auto meshlib::mesh_builder::UniteCloseParams::close_dist_mut ( ) -> &mut f32

vertices located closer to each other than this distance will be united Returns a mutable pointer to a member variable of class MR::MeshBuilder::UniteCloseParams named closeDist.

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

◆ construct_from()

auto meshlib::mesh_builder::UniteCloseParams::construct_from ( closeDist:f32 ,
uniteOnlyBd:bool ,
region:Option<&mut meshlib::VertBitSet > ,
duplicateNonManifold:bool ,
optionalVertOldToNew:Option<&mut meshlib::VertMap > ,
optionalDuplications:Option<&mut meshlib::std_vector_MR_MeshBuilder_VertDuplication >  ) -> meshlib::Owned< meshlib::mesh_builder::UniteCloseParams >
static

Constructs MR::MeshBuilder::UniteCloseParams elementwise.

Calls MR_MeshBuilder_UniteCloseParams_ConstructFrom(). The reference to the parameter region might be preserved in the constructed object. The reference to the parameter optionalVertOldToNew might be preserved in the constructed object. The reference to the parameter optionalDuplications might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::MeshBuilder::UniteCloseParams::UniteCloseParams.

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

◆ duplicate_non_manifold()

auto meshlib::mesh_builder::UniteCloseParams::duplicate_non_manifold ( ) const -> &bool

if true - try to duplicates non-manifold vertices instead of removing faces Returns a pointer to a member variable of class MR::MeshBuilder::UniteCloseParams named duplicateNonManifold.

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

◆ duplicate_non_manifold_mut()

auto meshlib::mesh_builder::UniteCloseParams::duplicate_non_manifold_mut ( ) -> &mut bool

if true - try to duplicates non-manifold vertices instead of removing faces Returns a mutable pointer to a member variable of class MR::MeshBuilder::UniteCloseParams named duplicateNonManifold.

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

◆ new()

auto meshlib::mesh_builder::UniteCloseParams::new ( ) -> meshlib::Owned< meshlib::mesh_builder::UniteCloseParams >
static

Constructs an empty (default-constructed) instance.

Calls MR_MeshBuilder_UniteCloseParams_DefaultConstruct().

◆ optional_duplications()

auto meshlib::mesh_builder::UniteCloseParams::optional_duplications ( ) const -> *const *mut meshlib::ffi::MR_std_vector_MR_MeshBuilder_VertDuplication

this can be used to map attributes to duplicated vertices Returns a pointer to a member variable of class MR::MeshBuilder::UniteCloseParams named optionalDuplications.

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

◆ optional_duplications_mut()

auto meshlib::mesh_builder::UniteCloseParams::optional_duplications_mut ( ) -> *mut *mut meshlib::ffi::MR_std_vector_MR_MeshBuilder_VertDuplication

this can be used to map attributes to duplicated vertices Returns a mutable pointer to a member variable of class MR::MeshBuilder::UniteCloseParams named optionalDuplications.

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

◆ optional_vert_old_to_new()

auto meshlib::mesh_builder::UniteCloseParams::optional_vert_old_to_new ( ) const -> *const *mut meshlib::ffi::MR_VertMap

is the mapping of vertices: before -> after Returns a pointer to a member variable of class MR::MeshBuilder::UniteCloseParams named optionalVertOldToNew.

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

◆ optional_vert_old_to_new_mut()

auto meshlib::mesh_builder::UniteCloseParams::optional_vert_old_to_new_mut ( ) -> *mut *mut meshlib::ffi::MR_VertMap

is the mapping of vertices: before -> after Returns a mutable pointer to a member variable of class MR::MeshBuilder::UniteCloseParams named optionalVertOldToNew.

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

◆ region()

auto meshlib::mesh_builder::UniteCloseParams::region ( ) const -> *const *mut meshlib::ffi::MR_VertBitSet

if true, only vertices from this region can be affected Returns a pointer to a member variable of class MR::MeshBuilder::UniteCloseParams named region.

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

◆ region_mut()

auto meshlib::mesh_builder::UniteCloseParams::region_mut ( ) -> *mut *mut meshlib::ffi::MR_VertBitSet

if true, only vertices from this region can be affected Returns a mutable pointer to a member variable of class MR::MeshBuilder::UniteCloseParams named region.

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

◆ set_close_dist()

void meshlib::mesh_builder::UniteCloseParams::set_close_dist ( value:f32 )

vertices located closer to each other than this distance will be united Modifies a member variable of class MR::MeshBuilder::UniteCloseParams named closeDist.

Calls MR_MeshBuilder_UniteCloseParams_Set_closeDist().

◆ set_duplicate_non_manifold()

void meshlib::mesh_builder::UniteCloseParams::set_duplicate_non_manifold ( value:bool )

if true - try to duplicates non-manifold vertices instead of removing faces Modifies a member variable of class MR::MeshBuilder::UniteCloseParams named duplicateNonManifold.

Calls MR_MeshBuilder_UniteCloseParams_Set_duplicateNonManifold().

◆ set_optional_duplications()

void meshlib::mesh_builder::UniteCloseParams::set_optional_duplications ( value:Option<&mut meshlib::std_vector_MR_MeshBuilder_VertDuplication > )

this can be used to map attributes to duplicated vertices Modifies a member variable of class MR::MeshBuilder::UniteCloseParams named optionalDuplications.

Calls MR_MeshBuilder_UniteCloseParams_Set_optionalDuplications(). The reference to the parameter value might be preserved in this object in element optionalDuplications.

◆ set_optional_vert_old_to_new()

void meshlib::mesh_builder::UniteCloseParams::set_optional_vert_old_to_new ( value:Option<&mut meshlib::VertMap > )

is the mapping of vertices: before -> after Modifies a member variable of class MR::MeshBuilder::UniteCloseParams named optionalVertOldToNew.

Calls MR_MeshBuilder_UniteCloseParams_Set_optionalVertOldToNew(). The reference to the parameter value might be preserved in this object in element optionalVertOldToNew.

◆ set_region()

void meshlib::mesh_builder::UniteCloseParams::set_region ( value:Option<&mut meshlib::VertBitSet > )

if true, only vertices from this region can be affected Modifies a member variable of class MR::MeshBuilder::UniteCloseParams named region.

Calls MR_MeshBuilder_UniteCloseParams_Set_region(). The reference to the parameter value might be preserved in this object in element region.

◆ set_unite_only_bd()

void meshlib::mesh_builder::UniteCloseParams::set_unite_only_bd ( value:bool )

if true then only boundary vertices can be united, all internal vertices (even close ones) will remain Modifies a member variable of class MR::MeshBuilder::UniteCloseParams named uniteOnlyBd.

Calls MR_MeshBuilder_UniteCloseParams_Set_uniteOnlyBd().

◆ unite_only_bd()

auto meshlib::mesh_builder::UniteCloseParams::unite_only_bd ( ) const -> &bool

if true then only boundary vertices can be united, all internal vertices (even close ones) will remain Returns a pointer to a member variable of class MR::MeshBuilder::UniteCloseParams named uniteOnlyBd.

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

◆ unite_only_bd_mut()

auto meshlib::mesh_builder::UniteCloseParams::unite_only_bd_mut ( ) -> &mut bool

if true then only boundary vertices can be united, all internal vertices (even close ones) will remain Returns a mutable pointer to a member variable of class MR::MeshBuilder::UniteCloseParams named uniteOnlyBd.

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


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