Per-feature outcome of simplifyConstraints(); changes are in input order. More...
#include <meshkit/constraints.hpp>
Public Attributes | |
| Text | id |
| Copy of the feature's id. | |
| std::ptrdiff_t | removed = 0 |
| Vertices removed (input XY count minus output XY count); 0 when unchanged. | |
| std::ptrdiff_t | rejectedShortcuts = 0 |
| Candidate shortcuts rejected; each is split at its worst (or middle) vertex and both halves are retried. | |
| double | maxDeviation = 0 |
| Largest XY distance of a removed vertex from its accepted shortcut; 0 when nothing was removed or the edit was reverted. | |
| double | maxZDeviation = 0 |
| Largest Z deviation of a removed vertex from linear interpolation along its shortcut, in Z units; 0 when nothing was removed or the edit was reverted. | |
| double | areaChange = 0 |
| Rings: absolute area change in squared XY units; 0 for open lines and reverted edits. | |
| bool | budgetRetained = false |
| The original geometry was kept because the work budget or workspace limit ran out, or the run was cancelled. | |
| bool | rolledBack = false |
| An accepted edit was reverted: ring area/orientation limit failed, output shortcuts of different features intersected, or a feature in the same shared-segment component was reverted. | |
| Vector< int > | sourceVertices |
| Input index of each output vertex; empty means identity. | |
Per-feature outcome of simplifyConstraints(); changes are in input order.
| double meshkit::plan::SimplificationChange::areaChange = 0 |
Rings: absolute area change in squared XY units; 0 for open lines and reverted edits.
| bool meshkit::plan::SimplificationChange::budgetRetained = false |
The original geometry was kept because the work budget or workspace limit ran out, or the run was cancelled.
| Text meshkit::plan::SimplificationChange::id |
Copy of the feature's id.
| double meshkit::plan::SimplificationChange::maxDeviation = 0 |
Largest XY distance of a removed vertex from its accepted shortcut; 0 when nothing was removed or the edit was reverted.
| double meshkit::plan::SimplificationChange::maxZDeviation = 0 |
Largest Z deviation of a removed vertex from linear interpolation along its shortcut, in Z units; 0 when nothing was removed or the edit was reverted.
| std::ptrdiff_t meshkit::plan::SimplificationChange::rejectedShortcuts = 0 |
Candidate shortcuts rejected; each is split at its worst (or middle) vertex and both halves are retried.
| std::ptrdiff_t meshkit::plan::SimplificationChange::removed = 0 |
Vertices removed (input XY count minus output XY count); 0 when unchanged.
| bool meshkit::plan::SimplificationChange::rolledBack = false |
An accepted edit was reverted: ring area/orientation limit failed, output shortcuts of different features intersected, or a feature in the same shared-segment component was reverted.
| Vector<int> meshkit::plan::SimplificationChange::sourceVertices |
Input index of each output vertex; empty means identity.