One constraint polyline or ring for simplification and the constraint audits. More...
#include <meshkit/constraints.hpp>
Public Types | |
| enum class | Role { Line , Domain , Hole , Protected } |
| Meaning of a feature for auditMeshConstraints(). More... | |
Public Attributes | |
| Text | id |
| Stable identifier: copied to SimplificationChange::id and prefixed to error messages. | |
| Vector< Point2 > | xy |
| Finite vertex coordinates in the common planar frame (XY units). | |
| Vector< double > | z |
| Optional authored elevations in Z units; compared with maxZDeviation, never changed. | |
| Vector< bool > | fixed |
| Per-vertex flags; a true vertex is never removed. Missing trailing flags are false. | |
| bool | closed = false |
| Treat as a ring even without a repeated closing vertex. | |
| ConstraintSimplificationPolicy | policy |
| Simplification limits for this feature. | |
| enum meshkit::plan::SimplificationFeature::Role | role = Role::Line |
| Meaning for auditMeshConstraints() (default Line); copied unchanged by simplification. | |
| int | marker = 0 |
| Boundary marker, copied unchanged by simplification. | |
| bool | requiredInMesh = true |
| True (default): auditMeshConstraints() requires delivered cell edges to cover this feature; false: the mesh audit skips it. | |
| Text | label |
| Optional human-readable label; copied unchanged, not read by simplification or the audits. | |
One constraint polyline or ring for simplification and the constraint audits.
It is a ring when closed is true or its last XY vertex equals its first; such a closing duplicate is kept in the output and must carry the same elevation as the first vertex.
|
strong |
Meaning of a feature for auditMeshConstraints().
| bool meshkit::plan::SimplificationFeature::closed = false |
Treat as a ring even without a repeated closing vertex.
| Vector<bool> meshkit::plan::SimplificationFeature::fixed |
Per-vertex flags; a true vertex is never removed. Missing trailing flags are false.
| Text meshkit::plan::SimplificationFeature::id |
Stable identifier: copied to SimplificationChange::id and prefixed to error messages.
Uniqueness is not checked.
| Text meshkit::plan::SimplificationFeature::label |
Optional human-readable label; copied unchanged, not read by simplification or the audits.
| int meshkit::plan::SimplificationFeature::marker = 0 |
Boundary marker, copied unchanged by simplification.
When nonzero, auditMeshConstraints() accepts only delivered edges with the same marker.
| ConstraintSimplificationPolicy meshkit::plan::SimplificationFeature::policy |
Simplification limits for this feature.
| bool meshkit::plan::SimplificationFeature::requiredInMesh = true |
True (default): auditMeshConstraints() requires delivered cell edges to cover this feature; false: the mesh audit skips it.
| enum meshkit::plan::SimplificationFeature::Role meshkit::plan::SimplificationFeature::role = Role::Line |
Meaning for auditMeshConstraints() (default Line); copied unchanged by simplification.
Finite vertex coordinates in the common planar frame (XY units).
| Vector<double> meshkit::plan::SimplificationFeature::z |
Optional authored elevations in Z units; compared with maxZDeviation, never changed.