-
enum CatConstraintStatus {
catCstStatusOK, catCstStatusKOStronglyNotSatisfied, catCstStatusKOWrongOrientOrSide, catCstStatusKOWrongValue, catCstStatusKOWrongGeomEltType, catCstStatusKOBroken
} -
Possible state of a constraint.
Indicates whether a constraint is satisfied or not, along with a diagnosis when not satisfied.- Values:
-
- catCstStatusOK
- The constraint is satisfied. dd>
- catCstStatusKOStronglyNotSatisfied
- The constraint is strongly not satisfied (e.g. distance constraint between two planes, which are not currently parallel). dd>
- catCstStatusKOWrongOrientOrSide
- The constraint is not satisfied because of the wrong orientation or side of its geometric elements (e.g. planes are parallel and at the specified distance, but their orientation is inverted with respect to the one specified by the constraint). dd>
- catCstStatusKOWrongValue
- The constraint is not satisfied because of its value (e.g. planes are parallel and at the specified orientation and side but not at the specified distance). dd>
- catCstStatusKOWrongGeomEltType
- The constraint is not satisfied because of the wrong type of its geometric elements (e.g. angle between a point and a plane). It can happen in an assembly when replacing a part by another. dd>
- catCstStatusKOBroken
- The constraint is not satisfied because a geometric element is missing. It can happen in an assembly when a part is missing. dd>