Loading...
Searching...
No Matches
meshkit::BasicConstrainedDelaunay< Storage >::QualityReport Struct Reference

Counters and diagnostics of one refineQuality() call. More...

#include <meshkit/cdt.hpp>

Collaboration diagram for meshkit::BasicConstrainedDelaunay< Storage >::QualityReport:

Public Attributes

int sizingRepairInserted = 0
 Vertices (segment splits included) inserted by the sizing-repair stage.
 
int sizingRepairPasses = 0
 Sizing-repair passes started (at most 3).
 
bool sizingRepairLimited = false
 Sizing repair reached maximumSizingRepairInsertions (at once when that is <= 0).
 
int inserted = 0
 Vertices added, segment splits included.
 
int segmentSplits = 0
 Constrained subsegments split; also counted in inserted.
 
int blockedByFixed
 Bad triangles whose point would encroach constrained subsegments of which none could be split: fixed, too short, no longer constrained, midpoint not terrain-clear, split failed, or stop requested.
 
int sizeInsertions = 0
 Point insertions, excluding segment splits, for a size target (hAt, maximumAreaForTriangle or sizing-repair ratio).
 
int qualityInsertions = 0
 Point insertions, excluding segment splits, for the minimum-angle bound.
 
int terrainInsertions = 0
 Terrain witness points inserted, excluding segment splits.
 
int terrainUnresolved = 0
 Final check: live triangles whose terrain error still exceeds the tolerance.
 
int terrainUnknown = 0
 Final check: live triangles whose error or tolerance is not finite.
 
double maxTerrainError = 0.0
 Final check: largest finite terrain error found, in Z units; 0 when not checked.
 
bool capped = false
 Stopped at maxInsertions or maxTriangles.
 
bool cancelled = false
 QualityOptions::cancelled returned true; edits are kept.
 
int coarsenRemoved = 0
 Free vertices removed by coarsening.
 
int coarsenRejectedAngle = 0
 Removals refused because a replacement triangle breaks the angle bound.
 
int coarsenRejectedSize = 0
 Removals refused because a replacement triangle exceeds hAt, coarseningTargetSize (ResolutionAware) or maximumAreaForTriangle.
 
int coarsenRejectedTerrain = 0
 Removals refused by the terrain checks; includes coarsenHeightRejects.
 
int coarsenRejectedEdge = 0
 Removals refused because a replacement edge is shorter than the star's shortest edge.
 
int coarsenAttempts = 0
 Removal attempts, including stars that could not be retriangulated.
 
int coarsenHeightRejects = 0
 Removals refused because the removed vertex's own height misses the replacement plane by more than the tolerance (or is unknown).
 
int coarsenBoundAccepts = 0
 Replacement triangles certified by the cached bound without calling terrainErrorBound.
 
int coarsenExactQueries = 0
 Calls to QualityOptions::terrainErrorBound.
 
bool coarsenSkippedTerrain = false
 Terrain is active but terrainErrorBound is absent, so coarsening was skipped.
 
double coarsenSeconds = 0
 Wall-clock seconds spent in the coarsening stage.
 
std::uint64_t coarsenQueuePeak = 0
 Largest size reached by the coarsening priority queue.
 
std::uint64_t coarsenPriorityQueries = 0
 ResolutionAware only: coarseningTargetSize calls made for queue priorities.
 
bool invalidPolicy = false
 Options or a callback result were invalid (coarseningOrder requirements, terrainToleranceForFootprint without terrain inputs or returning a non-positive or non-finite value, negative or non-finite coarseningTargetSize).
 

Detailed Description

template<class Storage>
struct meshkit::BasicConstrainedDelaunay< Storage >::QualityReport

Counters and diagnostics of one refineQuality() call.

Not a quality certificate: see refineQuality() for targets that can remain unmet.

Member Data Documentation

◆ blockedByFixed

template<class Storage>
int meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::blockedByFixed
Initial value:
=
0

Bad triangles whose point would encroach constrained subsegments of which none could be split: fixed, too short, no longer constrained, midpoint not terrain-clear, split failed, or stop requested.

During sizing repair such a triangle may still be refined by an interior insertion.

◆ cancelled

template<class Storage>
bool meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::cancelled = false

QualityOptions::cancelled returned true; edits are kept.

◆ capped

template<class Storage>
bool meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::capped = false

Stopped at maxInsertions or maxTriangles.

◆ coarsenAttempts

template<class Storage>
int meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::coarsenAttempts = 0

Removal attempts, including stars that could not be retriangulated.

◆ coarsenBoundAccepts

template<class Storage>
int meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::coarsenBoundAccepts = 0

Replacement triangles certified by the cached bound without calling terrainErrorBound.

◆ coarsenExactQueries

template<class Storage>
int meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::coarsenExactQueries = 0

◆ coarsenHeightRejects

template<class Storage>
int meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::coarsenHeightRejects = 0

Removals refused because the removed vertex's own height misses the replacement plane by more than the tolerance (or is unknown).

◆ coarsenPriorityQueries

template<class Storage>
std::uint64_t meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::coarsenPriorityQueries = 0

ResolutionAware only: coarseningTargetSize calls made for queue priorities.

◆ coarsenQueuePeak

template<class Storage>
std::uint64_t meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::coarsenQueuePeak = 0

Largest size reached by the coarsening priority queue.

◆ coarsenRejectedAngle

template<class Storage>
int meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::coarsenRejectedAngle = 0

Removals refused because a replacement triangle breaks the angle bound.

◆ coarsenRejectedEdge

template<class Storage>
int meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::coarsenRejectedEdge = 0

Removals refused because a replacement edge is shorter than the star's shortest edge.

◆ coarsenRejectedSize

template<class Storage>
int meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::coarsenRejectedSize = 0

Removals refused because a replacement triangle exceeds hAt, coarseningTargetSize (ResolutionAware) or maximumAreaForTriangle.

◆ coarsenRejectedTerrain

template<class Storage>
int meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::coarsenRejectedTerrain = 0

Removals refused by the terrain checks; includes coarsenHeightRejects.

◆ coarsenRemoved

template<class Storage>
int meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::coarsenRemoved = 0

Free vertices removed by coarsening.

◆ coarsenSeconds

template<class Storage>
double meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::coarsenSeconds = 0

Wall-clock seconds spent in the coarsening stage.

◆ coarsenSkippedTerrain

template<class Storage>
bool meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::coarsenSkippedTerrain = false

Terrain is active but terrainErrorBound is absent, so coarsening was skipped.

◆ inserted

template<class Storage>
int meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::inserted = 0

Vertices added, segment splits included.

◆ invalidPolicy

template<class Storage>
bool meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::invalidPolicy = false

Options or a callback result were invalid (coarseningOrder requirements, terrainToleranceForFootprint without terrain inputs or returning a non-positive or non-finite value, negative or non-finite coarseningTargetSize).

Found up front, refineQuality() returns without changes; found later, queue refinement and coarsening stop early.

◆ maxTerrainError

template<class Storage>
double meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::maxTerrainError = 0.0

Final check: largest finite terrain error found, in Z units; 0 when not checked.

◆ qualityInsertions

template<class Storage>
int meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::qualityInsertions = 0

Point insertions, excluding segment splits, for the minimum-angle bound.

◆ segmentSplits

template<class Storage>
int meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::segmentSplits = 0

Constrained subsegments split; also counted in inserted.

◆ sizeInsertions

template<class Storage>
int meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::sizeInsertions = 0

Point insertions, excluding segment splits, for a size target (hAt, maximumAreaForTriangle or sizing-repair ratio).

◆ sizingRepairInserted

template<class Storage>
int meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::sizingRepairInserted = 0

Vertices (segment splits included) inserted by the sizing-repair stage.

◆ sizingRepairLimited

template<class Storage>
bool meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::sizingRepairLimited = false

Sizing repair reached maximumSizingRepairInsertions (at once when that is <= 0).

◆ sizingRepairPasses

template<class Storage>
int meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::sizingRepairPasses = 0

Sizing-repair passes started (at most 3).

◆ terrainInsertions

template<class Storage>
int meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::terrainInsertions = 0

Terrain witness points inserted, excluding segment splits.

◆ terrainUnknown

template<class Storage>
int meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::terrainUnknown = 0

Final check: live triangles whose error or tolerance is not finite.

◆ terrainUnresolved

template<class Storage>
int meshkit::BasicConstrainedDelaunay< Storage >::QualityReport::terrainUnresolved = 0

Final check: live triangles whose terrain error still exceeds the tolerance.

Zero when terrain is off or terrainFinalCheck is false; partial or zero after cancellation.


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