Collection-wide inputs and resource limits for simplifyConstraints(). More...
#include <mesh/constraintsimplifier.h>
Public Attributes | |
| QVector< QPointF > | protectedPoints |
| Finite points in the planar frame that no shortcut may pass through or enclose between itself and the original path, kept at the policy's minimumClearance. | |
| std::function< bool()> | cancelled |
| Optional cancellation poll, called synchronously at the start and about every 4096 work units; returning true ends the pass with the original features. | |
| quint64 | workBudget = 0 |
| Work-unit limit for the pass; 0 selects 256 per input vertex plus 100,000. | |
| bool | canonicalizeSharedEdges = true |
| Simplify segments shared exactly by several features once, as canonical chains under the strictest owner policies (needs more than one feature). | |
| quint64 | maximumWorkspaceBytes = quint64(1) << 30 |
| Estimated byte limit for the shared-edge canonicalization records (1 GiB by default). | |
Collection-wide inputs and resource limits for simplifyConstraints().
| std::function<bool()> mesh::ConstraintSimplificationOptions::cancelled |
Optional cancellation poll, called synchronously at the start and about every 4096 work units; returning true ends the pass with the original features.
| bool mesh::ConstraintSimplificationOptions::canonicalizeSharedEdges = true |
Simplify segments shared exactly by several features once, as canonical chains under the strictest owner policies (needs more than one feature).
False simplifies every feature on its own against the common index.
| quint64 mesh::ConstraintSimplificationOptions::maximumWorkspaceBytes = quint64(1) << 30 |
Estimated byte limit for the shared-edge canonicalization records (1 GiB by default).
| QVector<QPointF> mesh::ConstraintSimplificationOptions::protectedPoints |
Finite points in the planar frame that no shortcut may pass through or enclose between itself and the original path, kept at the policy's minimumClearance.
| quint64 mesh::ConstraintSimplificationOptions::workBudget = 0 |
Work-unit limit for the pass; 0 selects 256 per input vertex plus 100,000.