MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::DeloneFlipsCache Struct Reference

#include <MRMesh/MRMeshDelone.h>

Public Attributes

UndirectedEdgeBitSet flipCandidates
 of the parallel passes (a mesh of 256 undirected edges or more)
UndirectedEdgeBitSet nextFlipCandidates
UndirectedEdgeBitSet queuedEdges
 of the serial rounds (a smaller mesh): the edges already queued for the next round, and the two rounds
std::vector< UndirectedEdgeId > roundEdges
std::vector< UndirectedEdgeId > nextRoundEdges

Detailed Description

the buffers makeDeloneEdgeFlips grows on every call; a caller running it many times on small meshes (e.g. one hole patch after another) keeps one instance between the calls to allocate them just once; one cache must not be used by several threads at once

Member Data Documentation

◆ flipCandidates

UndirectedEdgeBitSet MR::DeloneFlipsCache::flipCandidates

of the parallel passes (a mesh of 256 undirected edges or more)

◆ nextFlipCandidates

UndirectedEdgeBitSet MR::DeloneFlipsCache::nextFlipCandidates

◆ nextRoundEdges

std::vector<UndirectedEdgeId> MR::DeloneFlipsCache::nextRoundEdges

◆ queuedEdges

UndirectedEdgeBitSet MR::DeloneFlipsCache::queuedEdges

of the serial rounds (a smaller mesh): the edges already queued for the next round, and the two rounds

◆ roundEdges

std::vector<UndirectedEdgeId> MR::DeloneFlipsCache::roundEdges

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