Loading...
Searching...
No Matches
constraintsimplifier.h File Reference
#include <QPointF>
#include <QString>
#include <QVector>
#include <functional>
#include <optional>
Include dependency graph for constraintsimplifier.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mesh::ConstraintSimplificationPolicy
 Per-feature limits for constraint simplification. More...
 
struct  mesh::ConstraintPolicyOverride
 Partial ConstraintSimplificationPolicy layered over a parent policy, for per-source overrides. More...
 
struct  mesh::SimplificationFeature
 One source constraint, an open polyline or a ring, given to simplifyConstraints(). More...
 
struct  mesh::SimplificationChange
 Outcome for one input feature; ConstraintSimplificationResult::changes is parallel to the input. More...
 
struct  mesh::ConstraintSimplificationOptions
 Collection-wide inputs and resource limits for simplifyConstraints(). More...
 
struct  mesh::ConstraintSimplificationResult
 Output of simplifyConstraints(); features and changes are parallel to the input. More...
 

Namespaces

namespace  mesh
 The Qt-facing MeshKit API (meshkit::core_qt, meshkit::model_qt, meshkit::io_qt): mesh value types and cell attributes, the mesh generator, quad regions, matching and cleanup, mesh statistics, and the INP and 2DM mesh codecs.
 
namespace  mesh::detail
 Internal helpers of the Qt facades; not part of the supported API.
 

Functions

ConstraintSimplificationResult mesh::simplifyConstraints (const QVector< SimplificationFeature > &features, const ConstraintSimplificationOptions &options={})
 Remove redundant vertices from a collection of constraint features without moving any coordinate.
 
ConstraintSimplificationResult mesh::detail::simplifySharedConstraints (const QVector< SimplificationFeature > &features, const ConstraintSimplificationOptions &options)
 Internal: group exactly shared segments into chains, simplify each chain once under the strictest owner policies and map the result back to every owner.