Output of simplifyConstraints(); features and changes are parallel to the input. More...
#include <mesh/constraintsimplifier.h>
Public Attributes | |
| bool | ok = false |
| True when the pass finished, also when exhausted limits kept the originals (see SimplificationChange::budgetRetained). | |
| bool | cancelled = false |
| Cancellation was observed; ok is false and the features are the originals. | |
| QString | error |
| English reason when ok is false without cancellation; otherwise empty. | |
| QVector< SimplificationFeature > | features |
| Output features; the originals on failure. | |
| QVector< SimplificationChange > | changes |
| One outcome per input feature. | |
| quint64 | sharedSegments = 0 |
| Distinct segments owned by more than one feature; counted only by the shared-edge path, 0 otherwise. | |
| quint64 | sharedChains = 0 |
| Canonical chains built from shared segments; counted only by the shared-edge path, 0 otherwise. | |
| quint64 | workUsed = 0 |
| Work units consumed, including shared-edge indexing. | |
Output of simplifyConstraints(); features and changes are parallel to the input.
| bool mesh::ConstraintSimplificationResult::cancelled = false |
Cancellation was observed; ok is false and the features are the originals.
| QVector<SimplificationChange> mesh::ConstraintSimplificationResult::changes |
One outcome per input feature.
| QString mesh::ConstraintSimplificationResult::error |
English reason when ok is false without cancellation; otherwise empty.
| QVector<SimplificationFeature> mesh::ConstraintSimplificationResult::features |
Output features; the originals on failure.
| bool mesh::ConstraintSimplificationResult::ok = false |
True when the pass finished, also when exhausted limits kept the originals (see SimplificationChange::budgetRetained).
False on invalid input or cancellation.
| quint64 mesh::ConstraintSimplificationResult::sharedChains = 0 |
Canonical chains built from shared segments; counted only by the shared-edge path, 0 otherwise.
| quint64 mesh::ConstraintSimplificationResult::sharedSegments = 0 |
Distinct segments owned by more than one feature; counted only by the shared-edge path, 0 otherwise.
| quint64 mesh::ConstraintSimplificationResult::workUsed = 0 |
Work units consumed, including shared-edge indexing.