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

Public Member Functions

auto assign_from_another (_other:&meshlib::CutMeshParameters) -> &mut meshlib::CutMeshParameters
auto sort_data () const -> *const *const meshlib::ffi::MR_SortIntersectionsData
auto sort_data_mut () -> *mut *const meshlib::ffi::MR_SortIntersectionsData
void set_sort_data (value:Option<&meshlib::SortIntersectionsData >)
auto new2_old_map () const -> *const *mut meshlib::ffi::MR_FaceMap
auto new2_old_map_mut () -> *mut *mut meshlib::ffi::MR_FaceMap
void set_new2_old_map (value:Option<&mut meshlib::FaceMap >)
auto fill_part () const -> &meshlib::CutMeshParameters_FillPart
auto fill_part_mut () -> &mut meshlib::CutMeshParameters_FillPart
void set_fill_part (value:meshlib::CutMeshParameters_FillPart)
auto force_fill_mode () const -> &meshlib::CutMeshParameters_ForceFill
auto force_fill_mode_mut () -> &mut meshlib::CutMeshParameters_ForceFill
void set_force_fill_mode (value:meshlib::CutMeshParameters_ForceFill)
auto new2old_edges_map () const -> *const *mut meshlib::ffi::MR_NewEdgesMap
auto new2old_edges_map_mut () -> *mut *mut meshlib::ffi::MR_NewEdgesMap
void set_new2old_edges_map (value:Option<&mut meshlib::NewEdgesMap >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::CutMeshParameters >
static auto construct_from (sortData:Option<&meshlib::SortIntersectionsData >, new2OldMap:Option<&mut meshlib::FaceMap >, fillPart:meshlib::CutMeshParameters_FillPart, forceFillMode:meshlib::CutMeshParameters_ForceFill, new2oldEdgesMap:Option<&mut meshlib::NewEdgesMap >) -> meshlib::Owned< meshlib::CutMeshParameters >
static auto construct_from_another (_other:&meshlib::CutMeshParameters) -> meshlib::Owned< meshlib::CutMeshParameters >
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::CutMeshParameters::assign_from_another ( _other:&meshlib::CutMeshParameters ) -> &mut meshlib::CutMeshParameters

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

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

◆ construct_from()

auto meshlib::CutMeshParameters::construct_from ( sortData:Option<&meshlib::SortIntersectionsData > ,
new2OldMap:Option<&mut meshlib::FaceMap > ,
fillPart:meshlib::CutMeshParameters_FillPart ,
forceFillMode:meshlib::CutMeshParameters_ForceFill ,
new2oldEdgesMap:Option<&mut meshlib::NewEdgesMap >  ) -> meshlib::Owned< meshlib::CutMeshParameters >
static

Constructs MR::CutMeshParameters elementwise.

Calls MR_CutMeshParameters_ConstructFrom(). The reference to the parameter sortData might be preserved in the constructed object. The reference to the parameter new2OldMap might be preserved in the constructed object. The reference to the parameter fillPart might be preserved in the constructed object. The reference to the parameter forceFillMode might be preserved in the constructed object. The reference to the parameter new2oldEdgesMap might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::CutMeshParameters::CutMeshParameters.

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

◆ fill_part()

auto meshlib::CutMeshParameters::fill_part ( ) const -> &meshlib::CutMeshParameters_FillPart

Returns a pointer to a member variable of class MR::CutMeshParameters named fillPart.

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

◆ fill_part_mut()

auto meshlib::CutMeshParameters::fill_part_mut ( ) -> &mut meshlib::CutMeshParameters_FillPart

Returns a mutable pointer to a member variable of class MR::CutMeshParameters named fillPart.

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

◆ force_fill_mode()

auto meshlib::CutMeshParameters::force_fill_mode ( ) const -> &meshlib::CutMeshParameters_ForceFill

Returns a pointer to a member variable of class MR::CutMeshParameters named forceFillMode.

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

◆ force_fill_mode_mut()

auto meshlib::CutMeshParameters::force_fill_mode_mut ( ) -> &mut meshlib::CutMeshParameters_ForceFill

Returns a mutable pointer to a member variable of class MR::CutMeshParameters named forceFillMode.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_CutMeshParameters_DefaultConstruct().

◆ new2_old_map()

auto meshlib::CutMeshParameters::new2_old_map ( ) const -> *const *mut meshlib::ffi::MR_FaceMap

This is optional output - map from newly generated faces to old faces (N-1) Returns a pointer to a member variable of class MR::CutMeshParameters named new2OldMap.

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

◆ new2_old_map_mut()

auto meshlib::CutMeshParameters::new2_old_map_mut ( ) -> *mut *mut meshlib::ffi::MR_FaceMap

This is optional output - map from newly generated faces to old faces (N-1) Returns a mutable pointer to a member variable of class MR::CutMeshParameters named new2OldMap.

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

◆ new2old_edges_map()

auto meshlib::CutMeshParameters::new2old_edges_map ( ) const -> *const *mut meshlib::ffi::MR_NewEdgesMap

Optional output map for each new edge introduced after cut maps edge from old topology or old face Returns a pointer to a member variable of class MR::CutMeshParameters named new2oldEdgesMap.

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

◆ new2old_edges_map_mut()

auto meshlib::CutMeshParameters::new2old_edges_map_mut ( ) -> *mut *mut meshlib::ffi::MR_NewEdgesMap

Optional output map for each new edge introduced after cut maps edge from old topology or old face Returns a mutable pointer to a member variable of class MR::CutMeshParameters named new2oldEdgesMap.

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

void meshlib::CutMeshParameters::set_fill_part ( value:meshlib::CutMeshParameters_FillPart )

Modifies a member variable of class MR::CutMeshParameters named fillPart.

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

◆ set_force_fill_mode()

void meshlib::CutMeshParameters::set_force_fill_mode ( value:meshlib::CutMeshParameters_ForceFill )

Modifies a member variable of class MR::CutMeshParameters named forceFillMode.

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

◆ set_new2_old_map()

void meshlib::CutMeshParameters::set_new2_old_map ( value:Option<&mut meshlib::FaceMap > )

This is optional output - map from newly generated faces to old faces (N-1) Modifies a member variable of class MR::CutMeshParameters named new2OldMap.

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

◆ set_new2old_edges_map()

void meshlib::CutMeshParameters::set_new2old_edges_map ( value:Option<&mut meshlib::NewEdgesMap > )

Optional output map for each new edge introduced after cut maps edge from old topology or old face Modifies a member variable of class MR::CutMeshParameters named new2oldEdgesMap.

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

◆ set_sort_data()

void meshlib::CutMeshParameters::set_sort_data ( value:Option<&meshlib::SortIntersectionsData > )

This is optional input for better contours resolving
it provides additional info from other mesh used in boolean operation, useful to solve some degeneration

Note
Most likely you don't need this in case you call MR::cutMesh manualy, use case of it is MR::boolean Modifies a member variable of class MR::CutMeshParameters named sortData.

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

◆ sort_data()

auto meshlib::CutMeshParameters::sort_data ( ) const -> *const *const meshlib::ffi::MR_SortIntersectionsData

This is optional input for better contours resolving
it provides additional info from other mesh used in boolean operation, useful to solve some degeneration

Note
Most likely you don't need this in case you call MR::cutMesh manualy, use case of it is MR::boolean Returns a pointer to a member variable of class MR::CutMeshParameters named sortData.

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

◆ sort_data_mut()

auto meshlib::CutMeshParameters::sort_data_mut ( ) -> *mut *const meshlib::ffi::MR_SortIntersectionsData

This is optional input for better contours resolving
it provides additional info from other mesh used in boolean operation, useful to solve some degeneration

Note
Most likely you don't need this in case you call MR::cutMesh manualy, use case of it is MR::boolean Returns a mutable pointer to a member variable of class MR::CutMeshParameters named sortData.

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


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