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

Public Member Functions

auto assign_from_another (_other:&meshlib::TrimOptionalOutput) -> &mut meshlib::TrimOptionalOutput
auto out_cut_edges () const -> *const *mut meshlib::ffi::MR_UndirectedEdgeBitSet
auto out_cut_edges_mut () -> *mut *mut meshlib::ffi::MR_UndirectedEdgeBitSet
void set_out_cut_edges (value:Option<&mut meshlib::UndirectedEdgeBitSet >)
auto out_cut_contours () const -> *const *mut meshlib::ffi::MR_std_vector_std_vector_MR_EdgeId
auto out_cut_contours_mut () -> *mut *mut meshlib::ffi::MR_std_vector_std_vector_MR_EdgeId
void set_out_cut_contours (value:Option<&mut meshlib::std_vector_std_vector_MR_EdgeId >)
auto new2_old () const -> *const *mut meshlib::ffi::MR_phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId
auto new2_old_mut () -> *mut *mut meshlib::ffi::MR_phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId
void set_new2_old (value:Option<&mut meshlib::phmap::phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId >)
auto other_part () const -> *const *mut meshlib::ffi::MR_Mesh
auto other_part_mut () -> *mut *mut meshlib::ffi::MR_Mesh
void set_other_part (value:Option<&mut meshlib::Mesh >)
auto other_new2_old () const -> *const *mut meshlib::ffi::MR_phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId
auto other_new2_old_mut () -> *mut *mut meshlib::ffi::MR_phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId
void set_other_new2_old (value:Option<&mut meshlib::phmap::phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId >)
auto other_out_cut_contours () const -> *const *mut meshlib::ffi::MR_std_vector_std_vector_MR_EdgeId
auto other_out_cut_contours_mut () -> *mut *mut meshlib::ffi::MR_std_vector_std_vector_MR_EdgeId
void set_other_out_cut_contours (value:Option<&mut meshlib::std_vector_std_vector_MR_EdgeId >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::TrimOptionalOutput >
static auto construct_from (outCutEdges:Option<&mut meshlib::UndirectedEdgeBitSet >, outCutContours:Option<&mut meshlib::std_vector_std_vector_MR_EdgeId >, new2Old:Option<&mut meshlib::phmap::phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId >, otherPart:Option<&mut meshlib::Mesh >, otherNew2Old:Option<&mut meshlib::phmap::phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId >, otherOutCutContours:Option<&mut meshlib::std_vector_std_vector_MR_EdgeId >) -> meshlib::Owned< meshlib::TrimOptionalOutput >
static auto construct_from_another (_other:&meshlib::TrimOptionalOutput) -> meshlib::Owned< meshlib::TrimOptionalOutput >
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

stores optional output params for trimWithPlane function Generated from class MR::TrimOptionalOutput.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

Constructs MR::TrimOptionalOutput elementwise.

Calls MR_TrimOptionalOutput_ConstructFrom(). The reference to the parameter outCutEdges might be preserved in the constructed object. The reference to the parameter outCutContours might be preserved in the constructed object. The reference to the parameter new2Old might be preserved in the constructed object. The reference to the parameter otherPart might be preserved in the constructed object. The reference to the parameter otherNew2Old might be preserved in the constructed object. The reference to the parameter otherOutCutContours might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::TrimOptionalOutput::TrimOptionalOutput.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_TrimOptionalOutput_DefaultConstruct().

◆ new2_old()

auto meshlib::TrimOptionalOutput::new2_old ( ) const -> *const *mut meshlib::ffi::MR_phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId

mapping from newly appeared triangle to its original triangle (part to full) Returns a pointer to a member variable of class MR::TrimOptionalOutput named new2Old.

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

auto meshlib::TrimOptionalOutput::new2_old_mut ( ) -> *mut *mut meshlib::ffi::MR_phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId

mapping from newly appeared triangle to its original triangle (part to full) Returns a mutable pointer to a member variable of class MR::TrimOptionalOutput named new2Old.

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

◆ other_new2_old()

auto meshlib::TrimOptionalOutput::other_new2_old ( ) const -> *const *mut meshlib::ffi::MR_phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId

mapping from newly appeared triangle to its original triangle (part to full) in otherPart Returns a pointer to a member variable of class MR::TrimOptionalOutput named otherNew2Old.

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

◆ other_new2_old_mut()

auto meshlib::TrimOptionalOutput::other_new2_old_mut ( ) -> *mut *mut meshlib::ffi::MR_phmap_flat_hash_map_MR_FaceId_MR_FaceId_phmap_Hash_MR_FaceId_phmap_EqualTo_MR_FaceId_MR_Allocator_std_pair_const_MR_FaceId_MR_FaceId

mapping from newly appeared triangle to its original triangle (part to full) in otherPart Returns a mutable pointer to a member variable of class MR::TrimOptionalOutput named otherNew2Old.

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

◆ other_out_cut_contours()

auto meshlib::TrimOptionalOutput::other_out_cut_contours ( ) const -> *const *mut meshlib::ffi::MR_std_vector_std_vector_MR_EdgeId

newly appeared hole contours where each edge does not have right face in otherPart Returns a pointer to a member variable of class MR::TrimOptionalOutput named otherOutCutContours.

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

◆ other_out_cut_contours_mut()

auto meshlib::TrimOptionalOutput::other_out_cut_contours_mut ( ) -> *mut *mut meshlib::ffi::MR_std_vector_std_vector_MR_EdgeId

newly appeared hole contours where each edge does not have right face in otherPart Returns a mutable pointer to a member variable of class MR::TrimOptionalOutput named otherOutCutContours.

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

◆ other_part()

auto meshlib::TrimOptionalOutput::other_part ( ) const -> *const *mut meshlib::ffi::MR_Mesh

left part of the trimmed mesh Returns a pointer to a member variable of class MR::TrimOptionalOutput named otherPart.

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

◆ other_part_mut()

auto meshlib::TrimOptionalOutput::other_part_mut ( ) -> *mut *mut meshlib::ffi::MR_Mesh

left part of the trimmed mesh Returns a mutable pointer to a member variable of class MR::TrimOptionalOutput named otherPart.

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

auto meshlib::TrimOptionalOutput::out_cut_contours ( ) const -> *const *mut meshlib::ffi::MR_std_vector_std_vector_MR_EdgeId

newly appeared hole contours where each edge does not have right face Returns a pointer to a member variable of class MR::TrimOptionalOutput named outCutContours.

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

auto meshlib::TrimOptionalOutput::out_cut_contours_mut ( ) -> *mut *mut meshlib::ffi::MR_std_vector_std_vector_MR_EdgeId

newly appeared hole contours where each edge does not have right face Returns a mutable pointer to a member variable of class MR::TrimOptionalOutput named outCutContours.

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

auto meshlib::TrimOptionalOutput::out_cut_edges ( ) const -> *const *mut meshlib::ffi::MR_UndirectedEdgeBitSet

newly appeared hole boundary edges Returns a pointer to a member variable of class MR::TrimOptionalOutput named outCutEdges.

Calls MR_TrimOptionalOutput_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::TrimOptionalOutput::out_cut_edges_mut ( ) -> *mut *mut meshlib::ffi::MR_UndirectedEdgeBitSet

newly appeared hole boundary edges Returns a mutable pointer to a member variable of class MR::TrimOptionalOutput named outCutEdges.

Calls MR_TrimOptionalOutput_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.

◆ set_new2_old()

mapping from newly appeared triangle to its original triangle (part to full) Modifies a member variable of class MR::TrimOptionalOutput named new2Old.

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

◆ set_other_new2_old()

mapping from newly appeared triangle to its original triangle (part to full) in otherPart Modifies a member variable of class MR::TrimOptionalOutput named otherNew2Old.

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

◆ set_other_out_cut_contours()

void meshlib::TrimOptionalOutput::set_other_out_cut_contours ( value:Option<&mut meshlib::std_vector_std_vector_MR_EdgeId > )

newly appeared hole contours where each edge does not have right face in otherPart Modifies a member variable of class MR::TrimOptionalOutput named otherOutCutContours.

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

◆ set_other_part()

void meshlib::TrimOptionalOutput::set_other_part ( value:Option<&mut meshlib::Mesh > )

left part of the trimmed mesh Modifies a member variable of class MR::TrimOptionalOutput named otherPart.

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

◆ set_out_cut_contours()

void meshlib::TrimOptionalOutput::set_out_cut_contours ( value:Option<&mut meshlib::std_vector_std_vector_MR_EdgeId > )

newly appeared hole contours where each edge does not have right face Modifies a member variable of class MR::TrimOptionalOutput named outCutContours.

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

◆ set_out_cut_edges()

void meshlib::TrimOptionalOutput::set_out_cut_edges ( value:Option<&mut meshlib::UndirectedEdgeBitSet > )

newly appeared hole boundary edges Modifies a member variable of class MR::TrimOptionalOutput named outCutEdges.

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


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