MeshLib Rust Docs
Loading...
Searching...
No Matches
Inheritance diagram for meshlib::NewEdgesMap:

Public Member Functions

auto assign_from_another (_other:&meshlib::NewEdgesMap) -> &mut meshlib::NewEdgesMap
auto split_edges () const -> &meshlib::UndirectedEdgeBitSet
auto split_edges_mut () -> &mut meshlib::UndirectedEdgeBitSet
void set_split_edges (value:&meshlib::UndirectedEdgeBitSet)
auto map () const -> &meshlib::phmap::phmap_flat_hash_map_MR_UndirectedEdgeId_int_phmap_Hash_MR_UndirectedEdgeId_phmap_EqualTo_MR_UndirectedEdgeId_MR_Allocator_std_pair_const_MR_UndirectedEdgeId_int
auto map_mut () -> &mut meshlib::phmap::phmap_flat_hash_map_MR_UndirectedEdgeId_int_phmap_Hash_MR_UndirectedEdgeId_phmap_EqualTo_MR_UndirectedEdgeId_MR_Allocator_std_pair_const_MR_UndirectedEdgeId_int
void set_map (value:&meshlib::phmap::phmap_flat_hash_map_MR_UndirectedEdgeId_int_phmap_Hash_MR_UndirectedEdgeId_phmap_EqualTo_MR_UndirectedEdgeId_MR_Allocator_std_pair_const_MR_UndirectedEdgeId_int)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::NewEdgesMap >
static auto construct_from (splitEdges:&meshlib::UndirectedEdgeBitSet, map:&meshlib::phmap::phmap_flat_hash_map_MR_UndirectedEdgeId_int_phmap_Hash_MR_UndirectedEdgeId_phmap_EqualTo_MR_UndirectedEdgeId_MR_Allocator_std_pair_const_MR_UndirectedEdgeId_int) -> meshlib::Owned< meshlib::NewEdgesMap >
static auto construct_from_another (_other:&meshlib::NewEdgesMap) -> meshlib::Owned< meshlib::NewEdgesMap >
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

Map structure to find primitives of old topology by edges introduced in cutMesh Generated from class MR::NewEdgesMap.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

Constructs MR::NewEdgesMap elementwise.

Calls MR_NewEdgesMap_ConstructFrom(). The reference to the parameter splitEdges might be preserved in the constructed object. The reference to the parameter map might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::NewEdgesMap::NewEdgesMap.

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

◆ map()

maps every edge appeared during subdivision to an original edge before mesh subdivision; for splitEdges[key]=true, the value is arbitrary oriented original edge, for which key-edge is its part; for splitEdges[key]=false, the value is an original triangle Returns a pointer to a member variable of class MR::NewEdgesMap named map.

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

◆ map_mut()

maps every edge appeared during subdivision to an original edge before mesh subdivision; for splitEdges[key]=true, the value is arbitrary oriented original edge, for which key-edge is its part; for splitEdges[key]=false, the value is an original triangle Returns a mutable pointer to a member variable of class MR::NewEdgesMap named map.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_NewEdgesMap_DefaultConstruct().

◆ set_map()

maps every edge appeared during subdivision to an original edge before mesh subdivision; for splitEdges[key]=true, the value is arbitrary oriented original edge, for which key-edge is its part; for splitEdges[key]=false, the value is an original triangle Modifies a member variable of class MR::NewEdgesMap named map.

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

◆ set_split_edges()

void meshlib::NewEdgesMap::set_split_edges ( value:&meshlib::UndirectedEdgeBitSet )

true here means that a subdivided edge is a part of some original edge edge before mesh subdivision; false here is both for unmodified edges and for new edges introduced within original triangles Modifies a member variable of class MR::NewEdgesMap named splitEdges.

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

◆ split_edges()

auto meshlib::NewEdgesMap::split_edges ( ) const -> &meshlib::UndirectedEdgeBitSet

true here means that a subdivided edge is a part of some original edge edge before mesh subdivision; false here is both for unmodified edges and for new edges introduced within original triangles Returns a pointer to a member variable of class MR::NewEdgesMap named splitEdges.

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

◆ split_edges_mut()

auto meshlib::NewEdgesMap::split_edges_mut ( ) -> &mut meshlib::UndirectedEdgeBitSet

true here means that a subdivided edge is a part of some original edge edge before mesh subdivision; false here is both for unmodified edges and for new edges introduced within original triangles Returns a mutable pointer to a member variable of class MR::NewEdgesMap named splitEdges.

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


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