return mySketch->data() && mySketch->data()->isValid();
}
+ /// \brief Verifies the constraint is complex, i.e. it needs another constraints to be created before
+ static bool isComplexConstraint(FeaturePtr theConstraint);
+
/** \brief Adds or updates a constraint in the group
* \param[in] theConstraint constraint to be changed
* \return \c true if the constraint added or updated successfully
/// \brief Apply temporary rigid constraints for the list of features
void fixFeaturesList(AttributeRefListPtr theList);
+ /// \brief Append given constraint to th group of temporary constraints
+ void setTemporary(SolverConstraintPtr theConstraint);
+
private:
Slvs_hGroup myID; ///< Index of the group
Slvs_hEntity myWorkplaneID; ///< Index of workplane, the group is based on
FeatureStoragePtr myFeatureStorage; ///< Container for the set of SketchPlugin features and their dependencies
SketchSolver_Solver myConstrSolver; ///< Solver for set of equations obtained by constraints
+
+ bool myPrevSolved; ///< Indicates that previous solving was done correctly
};
#endif