One source constraint, an open polyline or a ring, given to simplifyConstraints(). More...
#include <mesh/constraintsimplifier.h>
Public Types | |
| enum class | Role { Line , Domain , Hole , Protected } |
| Meaning of the feature for the delivered-mesh audit; ignored by the simplifier. More... | |
Public Attributes | |
| QString | id |
| Caller identifier, copied to SimplificationChange::id and error prefixes. | |
| QVector< QPointF > | xy |
| Vertices in the common planar frame; all must be finite. | |
| QVector< double > | z |
| Elevations parallel to xy; a repeated closing vertex must repeat its elevation. | |
| QVector< bool > | fixed |
| Per-vertex flags parallel to xy; a flagged vertex is never removed. | |
| bool | closed = false |
| Treat the feature as a ring even without a repeated closing vertex. | |
| ConstraintSimplificationPolicy | policy |
| Limits for this feature; validated before use. | |
| enum mesh::SimplificationFeature::Role | role = Role::Line |
| Feature role; Role::Line by default. | |
| int | marker = 0 |
| Boundary marker; when nonzero, the mesh audit matches only this marker. | |
| bool | requiredInMesh = true |
| False makes the delivered-mesh audit skip it. | |
| QString | label |
| Display label; makeConstraintPreview() falls back to id when it is empty. | |
One source constraint, an open polyline or a ring, given to simplifyConstraints().
A feature is a ring when closed is true or when its first and last XY vertices are exactly equal; a repeated closing vertex is optional and is reproduced in the output. role, marker, requiredInMesh and label are not used by the simplifier; they are carried through unchanged for the constraint audits and the caller.
|
strong |
Meaning of the feature for the delivered-mesh audit; ignored by the simplifier.
| bool mesh::SimplificationFeature::closed = false |
Treat the feature as a ring even without a repeated closing vertex.
| QVector<bool> mesh::SimplificationFeature::fixed |
Per-vertex flags parallel to xy; a flagged vertex is never removed.
| QString mesh::SimplificationFeature::id |
Caller identifier, copied to SimplificationChange::id and error prefixes.
| QString mesh::SimplificationFeature::label |
Display label; makeConstraintPreview() falls back to id when it is empty.
| int mesh::SimplificationFeature::marker = 0 |
Boundary marker; when nonzero, the mesh audit matches only this marker.
| ConstraintSimplificationPolicy mesh::SimplificationFeature::policy |
Limits for this feature; validated before use.
| bool mesh::SimplificationFeature::requiredInMesh = true |
False makes the delivered-mesh audit skip it.
| enum mesh::SimplificationFeature::Role mesh::SimplificationFeature::role = Role::Line |
Feature role; Role::Line by default.
| QVector<QPointF> mesh::SimplificationFeature::xy |
Vertices in the common planar frame; all must be finite.
| QVector<double> mesh::SimplificationFeature::z |
Elevations parallel to xy; a repeated closing vertex must repeat its elevation.