Loading...
Searching...
No Matches
mesh::PatchDecision Struct Reference

Per-region planning record explaining the disposition chosen by planQuadRegions(). More...

#include <mesh/cellplanner.h>

Collaboration diagram for mesh::PatchDecision:

Public Attributes

QString source
 Region tag, or "region:<i>" with the zero-based index when the tag is empty.
 
QString reason
 English explanation: the acceptance note, the refusal or priority reason, or the last repairable failure.
 
int region = -1
 Zero-based index into the planned regions; -1 when not assigned.
 
bool required = false
 QuadRegion::requireMapped or directionalSpacing was set.
 
PatchDisposition disposition = PatchDisposition::Triangles
 Final outcome.
 
quint64 cells = 0
 n x m cell count at the patch's last successful assessment; 0 if none passed.
 
int repairRounds = 0
 Station-doubling rounds the delivered patch needed; 0 otherwise.
 

Detailed Description

Per-region planning record explaining the disposition chosen by planQuadRegions().

Member Data Documentation

◆ cells

quint64 mesh::PatchDecision::cells = 0

n x m cell count at the patch's last successful assessment; 0 if none passed.

Not reset when a later shared-side check refuses the patch, so read it with disposition.

◆ disposition

PatchDisposition mesh::PatchDecision::disposition = PatchDisposition::Triangles

Final outcome.

◆ reason

QString mesh::PatchDecision::reason

English explanation: the acceptance note, the refusal or priority reason, or the last repairable failure.

◆ region

int mesh::PatchDecision::region = -1

Zero-based index into the planned regions; -1 when not assigned.

◆ repairRounds

int mesh::PatchDecision::repairRounds = 0

Station-doubling rounds the delivered patch needed; 0 otherwise.

◆ required

bool mesh::PatchDecision::required = false

QuadRegion::requireMapped or directionalSpacing was set.

◆ source

QString mesh::PatchDecision::source

Region tag, or "region:<i>" with the zero-based index when the tag is empty.


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