Wildmeshing Toolkit
Loading...
Searching...
No Matches
Public Attributes | List of all members
wmtk::TriOptimizerMesh::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< EdgeAttributes, std::array< size_t, 2 > > > changed_edges
 
std::vector< std::pair< std::array< size_t, 2 >, EdgeAttributes > > surface_edges
 
std::vector< std::pair< std::array< size_t, 2 >, int > > renamed_orientations
 
std::vector< size_t > changed_fids
 
std::vector< double > changed_energies
 
double region_max_rel_before = 0.
 

Member Data Documentation

◆ region_max_rel_before

double wmtk::TriOptimizerMesh::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, 2>, int> > wmtk::TriOptimizerMesh::CollapseInfoCache::renamed_orientations

Oriented edges (v1,y) the collapse renames in place to (v2,y), as {v2,y} with the orientation measured along that order – see the 3D counterpart.

◆ surface_edges

std::vector<std::pair<std::array<size_t, 2>, EdgeAttributes> > wmtk::TriOptimizerMesh::CollapseInfoCache::surface_edges

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


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