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

Public Member Functions

auto assign_from_another (_other:&meshlib::BooleanParameters) -> &mut meshlib::BooleanParameters
auto rigid_b2_a () const -> *const *const meshlib::AffineXf3f
auto rigid_b2_a_mut () -> *mut *const meshlib::AffineXf3f
void set_rigid_b2_a (value:Option<&meshlib::AffineXf3f >)
auto mapper () const -> *const *mut meshlib::ffi::MR_BooleanResultMapper
auto mapper_mut () -> *mut *mut meshlib::ffi::MR_BooleanResultMapper
void set_mapper (value:Option<&mut meshlib::BooleanResultMapper >)
auto out_pre_cut_a () const -> *const *mut meshlib::ffi::MR_BooleanPreCutResult
auto out_pre_cut_a_mut () -> *mut *mut meshlib::ffi::MR_BooleanPreCutResult
void set_out_pre_cut_a (value:Option<&mut meshlib::BooleanPreCutResult >)
auto out_pre_cut_b () const -> *const *mut meshlib::ffi::MR_BooleanPreCutResult
auto out_pre_cut_b_mut () -> *mut *mut meshlib::ffi::MR_BooleanPreCutResult
void set_out_pre_cut_b (value:Option<&mut meshlib::BooleanPreCutResult >)
auto out_cut_edges () const -> *const *mut meshlib::ffi::MR_std_vector_std_vector_MR_EdgeId
auto out_cut_edges_mut () -> *mut *mut meshlib::ffi::MR_std_vector_std_vector_MR_EdgeId
void set_out_cut_edges (value:Option<&mut meshlib::std_vector_std_vector_MR_EdgeId >)
auto merge_all_non_intersecting_components () const -> &bool
auto merge_all_non_intersecting_components_mut () -> &mut bool
void set_merge_all_non_intersecting_components (value:bool)
auto force_cut () const -> &bool
auto force_cut_mut () -> &mut bool
void set_force_cut (value:bool)
auto cb () const -> &meshlib::std_function_bool_from_float
auto cb_mut () -> &mut meshlib::std_function_bool_from_float
void set_cb (value:&meshlib::std_function_bool_from_float)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::BooleanParameters >
static auto construct_from (rigidB2A:Option<&meshlib::AffineXf3f >, mapper:Option<&mut meshlib::BooleanResultMapper >, outPreCutA:Option<&mut meshlib::BooleanPreCutResult >, outPreCutB:Option<&mut meshlib::BooleanPreCutResult >, outCutEdges:Option<&mut meshlib::std_vector_std_vector_MR_EdgeId >, mergeAllNonIntersectingComponents:bool, forceCut:bool, cb:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::BooleanParameters >
static auto construct_from_another (_other:&meshlib::BooleanParameters) -> meshlib::Owned< meshlib::BooleanParameters >
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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ cb()

auto meshlib::BooleanParameters::cb ( ) const -> &meshlib::std_function_bool_from_float

Returns a pointer to a member variable of class MR::BooleanParameters named cb.

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

◆ cb_mut()

auto meshlib::BooleanParameters::cb_mut ( ) -> &mut meshlib::std_function_bool_from_float

Returns a mutable pointer to a member variable of class MR::BooleanParameters named cb.

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

◆ construct_from()

auto meshlib::BooleanParameters::construct_from ( rigidB2A:Option<&meshlib::AffineXf3f > ,
mapper:Option<&mut meshlib::BooleanResultMapper > ,
outPreCutA:Option<&mut meshlib::BooleanPreCutResult > ,
outPreCutB:Option<&mut meshlib::BooleanPreCutResult > ,
outCutEdges:Option<&mut meshlib::std_vector_std_vector_MR_EdgeId > ,
mergeAllNonIntersectingComponents:bool ,
forceCut:bool ,
cb:&meshlib::std_function_bool_from_float  ) -> meshlib::Owned< meshlib::BooleanParameters >
static

Constructs MR::BooleanParameters elementwise.

Calls MR_BooleanParameters_ConstructFrom(). The reference to the parameter rigidB2A might be preserved in the constructed object. The reference to the parameter mapper might be preserved in the constructed object. The reference to the parameter outPreCutA might be preserved in the constructed object. The reference to the parameter outPreCutB might be preserved in the constructed object. The reference to the parameter outCutEdges might be preserved in the constructed object. The reference to the parameter cb might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::BooleanParameters::BooleanParameters.

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

◆ force_cut()

auto meshlib::BooleanParameters::force_cut ( ) const -> &bool

If this option is enabled boolean will try to cut meshes even if there are self-intersections in intersecting area if enabled returned meshes will not be stitched but merged, consider MR::MeshBuilder::uniteCloseVertices and MR::fillHoles afterwards

Warning
not recommended in most cases Returns a pointer to a member variable of class MR::BooleanParameters named forceCut.

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

◆ force_cut_mut()

auto meshlib::BooleanParameters::force_cut_mut ( ) -> &mut bool

If this option is enabled boolean will try to cut meshes even if there are self-intersections in intersecting area if enabled returned meshes will not be stitched but merged, consider MR::MeshBuilder::uniteCloseVertices and MR::fillHoles afterwards

Warning
not recommended in most cases Returns a mutable pointer to a member variable of class MR::BooleanParameters named forceCut.

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

◆ mapper()

auto meshlib::BooleanParameters::mapper ( ) const -> *const *mut meshlib::ffi::MR_BooleanResultMapper

Optional output structure to map mesh A and mesh B topology to result mesh topology Returns a pointer to a member variable of class MR::BooleanParameters named mapper.

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

◆ mapper_mut()

auto meshlib::BooleanParameters::mapper_mut ( ) -> *mut *mut meshlib::ffi::MR_BooleanResultMapper

Optional output structure to map mesh A and mesh B topology to result mesh topology Returns a mutable pointer to a member variable of class MR::BooleanParameters named mapper.

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

◆ merge_all_non_intersecting_components()

auto meshlib::BooleanParameters::merge_all_non_intersecting_components ( ) const -> &bool

By default produce valid operation on disconnected components if set merge all non-intersecting components Returns a pointer to a member variable of class MR::BooleanParameters named mergeAllNonIntersectingComponents.

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

◆ merge_all_non_intersecting_components_mut()

auto meshlib::BooleanParameters::merge_all_non_intersecting_components_mut ( ) -> &mut bool

By default produce valid operation on disconnected components if set merge all non-intersecting components Returns a mutable pointer to a member variable of class MR::BooleanParameters named mergeAllNonIntersectingComponents.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_BooleanParameters_DefaultConstruct().

◆ out_cut_edges()

auto meshlib::BooleanParameters::out_cut_edges ( ) const -> *const *mut meshlib::ffi::MR_std_vector_std_vector_MR_EdgeId

Optional output cut edges of booleaned meshes Returns a pointer to a member variable of class MR::BooleanParameters named outCutEdges.

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

◆ out_cut_edges_mut()

auto meshlib::BooleanParameters::out_cut_edges_mut ( ) -> *mut *mut meshlib::ffi::MR_std_vector_std_vector_MR_EdgeId

Optional output cut edges of booleaned meshes Returns a mutable pointer to a member variable of class MR::BooleanParameters named outCutEdges.

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

◆ out_pre_cut_a()

auto meshlib::BooleanParameters::out_pre_cut_a ( ) const -> *const *mut meshlib::ffi::MR_BooleanPreCutResult

Optional precut output of meshA, if present - does not perform boolean and just return them Returns a pointer to a member variable of class MR::BooleanParameters named outPreCutA.

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

◆ out_pre_cut_a_mut()

auto meshlib::BooleanParameters::out_pre_cut_a_mut ( ) -> *mut *mut meshlib::ffi::MR_BooleanPreCutResult

Optional precut output of meshA, if present - does not perform boolean and just return them Returns a mutable pointer to a member variable of class MR::BooleanParameters named outPreCutA.

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

◆ out_pre_cut_b()

auto meshlib::BooleanParameters::out_pre_cut_b ( ) const -> *const *mut meshlib::ffi::MR_BooleanPreCutResult

Optional precut output of meshB, if present - does not perform boolean and just return them Returns a pointer to a member variable of class MR::BooleanParameters named outPreCutB.

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

◆ out_pre_cut_b_mut()

auto meshlib::BooleanParameters::out_pre_cut_b_mut ( ) -> *mut *mut meshlib::ffi::MR_BooleanPreCutResult

Optional precut output of meshB, if present - does not perform boolean and just return them Returns a mutable pointer to a member variable of class MR::BooleanParameters named outPreCutB.

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

◆ rigid_b2_a()

auto meshlib::BooleanParameters::rigid_b2_a ( ) const -> *const *const meshlib::AffineXf3f

Transform from mesh B space to mesh A space Returns a pointer to a member variable of class MR::BooleanParameters named rigidB2A.

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

◆ rigid_b2_a_mut()

auto meshlib::BooleanParameters::rigid_b2_a_mut ( ) -> *mut *const meshlib::AffineXf3f

Transform from mesh B space to mesh A space Returns a mutable pointer to a member variable of class MR::BooleanParameters named rigidB2A.

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

void meshlib::BooleanParameters::set_cb ( value:&meshlib::std_function_bool_from_float )

Modifies a member variable of class MR::BooleanParameters named cb.

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

◆ set_force_cut()

void meshlib::BooleanParameters::set_force_cut ( value:bool )

If this option is enabled boolean will try to cut meshes even if there are self-intersections in intersecting area if enabled returned meshes will not be stitched but merged, consider MR::MeshBuilder::uniteCloseVertices and MR::fillHoles afterwards

Warning
not recommended in most cases Modifies a member variable of class MR::BooleanParameters named forceCut.

Calls MR_BooleanParameters_Set_forceCut().

◆ set_mapper()

void meshlib::BooleanParameters::set_mapper ( value:Option<&mut meshlib::BooleanResultMapper > )

Optional output structure to map mesh A and mesh B topology to result mesh topology Modifies a member variable of class MR::BooleanParameters named mapper.

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

◆ set_merge_all_non_intersecting_components()

void meshlib::BooleanParameters::set_merge_all_non_intersecting_components ( value:bool )

By default produce valid operation on disconnected components if set merge all non-intersecting components Modifies a member variable of class MR::BooleanParameters named mergeAllNonIntersectingComponents.

Calls MR_BooleanParameters_Set_mergeAllNonIntersectingComponents().

◆ set_out_cut_edges()

void meshlib::BooleanParameters::set_out_cut_edges ( value:Option<&mut meshlib::std_vector_std_vector_MR_EdgeId > )

Optional output cut edges of booleaned meshes Modifies a member variable of class MR::BooleanParameters named outCutEdges.

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

◆ set_out_pre_cut_a()

void meshlib::BooleanParameters::set_out_pre_cut_a ( value:Option<&mut meshlib::BooleanPreCutResult > )

Optional precut output of meshA, if present - does not perform boolean and just return them Modifies a member variable of class MR::BooleanParameters named outPreCutA.

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

◆ set_out_pre_cut_b()

void meshlib::BooleanParameters::set_out_pre_cut_b ( value:Option<&mut meshlib::BooleanPreCutResult > )

Optional precut output of meshB, if present - does not perform boolean and just return them Modifies a member variable of class MR::BooleanParameters named outPreCutB.

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

◆ set_rigid_b2_a()

void meshlib::BooleanParameters::set_rigid_b2_a ( value:Option<&meshlib::AffineXf3f > )

Transform from mesh B space to mesh A space Modifies a member variable of class MR::BooleanParameters named rigidB2A.

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


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