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

Qt form of meshkit::plan::ConstraintAuditReport: result of auditConstraintSimplification() or auditMeshConstraints(). More...

#include <mesh/constraintaudit.h>

Collaboration diagram for mesh::ConstraintAuditReport:

Public Attributes

bool ok = false
 complete and no violations: the only state that certifies the input.
 
bool complete = false
 Not cancelled and not resource-limited.
 
bool cancelled = false
 ConstraintAuditOptions::cancelled stopped the audit.
 
bool resourceLimited = false
 The work budget or workspace estimate ran out.
 
QString error
 Empty when no violation was found and the audit finished; otherwise "<id>: <message>" of the first violation, or the cancellation / resource-limit message.
 
quint64 featuresChecked = 0
 Features examined (simplification audit), or required features examined (mesh audit).
 
quint64 segmentsChecked = 0
 Output segments (simplification audit) or required source segments (mesh audit) examined.
 
quint64 cellsChecked = 0
 Delivered cells visited; mesh audit only.
 
quint64 violations = 0
 Total violations found, including those beyond maximumExamples.
 
quint64 workUsed = 0
 Work units consumed.
 
double maximumXYDeviation = 0
 Largest XY distance found: of a removed vertex from its output shortcut (simplification audit), or of a matched delivered edge from its source line (mesh audit).
 
double maximumZDeviation = 0
 Largest Z difference found, in Z units: of a removed vertex from linear interpolation, or of a delivered endpoint from its authored elevation.
 
double maximumAreaChange = 0
 Largest absolute ring area change in squared XY units; simplification audit only.
 
double coordinateRoundoff = 0
 Largest XY matching tolerance used, 32 machine epsilons times the segment's coordinate scale; mesh audit only.
 
QVector< ConstraintAuditExample > examples
 First violations, at most maximumExamples (clamped to [0, 1000]).
 

Detailed Description

Member Data Documentation

◆ cancelled

bool mesh::ConstraintAuditReport::cancelled = false

◆ cellsChecked

quint64 mesh::ConstraintAuditReport::cellsChecked = 0

Delivered cells visited; mesh audit only.

◆ complete

bool mesh::ConstraintAuditReport::complete = false

Not cancelled and not resource-limited.

Structural violations can still end the audit early with complete set.

◆ coordinateRoundoff

double mesh::ConstraintAuditReport::coordinateRoundoff = 0

Largest XY matching tolerance used, 32 machine epsilons times the segment's coordinate scale; mesh audit only.

◆ error

QString mesh::ConstraintAuditReport::error

Empty when no violation was found and the audit finished; otherwise "<id>: <message>" of the first violation, or the cancellation / resource-limit message.

◆ examples

QVector<ConstraintAuditExample> mesh::ConstraintAuditReport::examples

First violations, at most maximumExamples (clamped to [0, 1000]).

◆ featuresChecked

quint64 mesh::ConstraintAuditReport::featuresChecked = 0

Features examined (simplification audit), or required features examined (mesh audit).

◆ maximumAreaChange

double mesh::ConstraintAuditReport::maximumAreaChange = 0

Largest absolute ring area change in squared XY units; simplification audit only.

◆ maximumXYDeviation

double mesh::ConstraintAuditReport::maximumXYDeviation = 0

Largest XY distance found: of a removed vertex from its output shortcut (simplification audit), or of a matched delivered edge from its source line (mesh audit).

◆ maximumZDeviation

double mesh::ConstraintAuditReport::maximumZDeviation = 0

Largest Z difference found, in Z units: of a removed vertex from linear interpolation, or of a delivered endpoint from its authored elevation.

◆ ok

bool mesh::ConstraintAuditReport::ok = false

complete and no violations: the only state that certifies the input.

◆ resourceLimited

bool mesh::ConstraintAuditReport::resourceLimited = false

The work budget or workspace estimate ran out.

◆ segmentsChecked

quint64 mesh::ConstraintAuditReport::segmentsChecked = 0

Output segments (simplification audit) or required source segments (mesh audit) examined.

◆ violations

quint64 mesh::ConstraintAuditReport::violations = 0

Total violations found, including those beyond maximumExamples.

◆ workUsed

quint64 mesh::ConstraintAuditReport::workUsed = 0

Work units consumed.


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