Wildmeshing Toolkit
Loading...
Searching...
No Matches
Public Attributes | List of all members
wmtk::TetOptimizerMesh::CollapseInfoCache Struct Reference

Public Attributes

size_t v1_id = 0
 
size_t v2_id = 0
 
double max_energy = 0.
 
double edge_length = 0.
 
std::vector< std::pair< FaceAttributes, std::array< size_t, 3 > > > changed_faces
 
std::vector< std::pair< std::array< size_t, 3 >, FaceAttributes > > surface_faces
 
std::vector< std::pair< std::array< size_t, 3 >, int > > renamed_orientations
 
std::vector< std::array< size_t, 2 > > boundary_edges
 
std::vector< size_t > changed_tids
 
std::vector< double > changed_energies
 
std::map< std::array< size_t, 2 >, bool > changed_edges
 Feature-edge tags of the affected tets, by sorted vid pair (m_track_feature_edges).
 
double region_max_rel_before = 0.
 

Member Data Documentation

◆ region_max_rel_before

double wmtk::TetOptimizerMesh::CollapseInfoCache::region_max_rel_before = 0.

Coarsening pass only: the worst relative quality in the region the composite may disturb, measured before the collapse. See collapse_edge_after.

◆ renamed_orientations

std::vector<std::pair<std::array<size_t, 3>, int> > wmtk::TetOptimizerMesh::CollapseInfoCache::renamed_orientations

Oriented faces (v1,x,y) the collapse renames in place to (v2,x,y), as {v2,x,y} with the orientation measured along that order. Their attribute stays in its slot, so without this the value would be read against the wrong vertex set.

◆ surface_faces

std::vector<std::pair<std::array<size_t, 3>, FaceAttributes> > wmtk::TetOptimizerMesh::CollapseInfoCache::surface_faces

The tracked faces (v1,x,y) the collapse moves, as (v2,x,y), each with the attributes it will carry – its own, or the merged ones of changed_faces where it becomes one face with (v2,x,y) – for the containment check, which runs before they are written.


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