Salome HOME
Pipe validator fix
[modules/shaper.git] / src / SketchSolver / SketchSolver_ISolver.h
index a23807ee31275c6511283aa0fac945a84e1fa0c3..fd992971a6759831b69f45124f5969daaab4643f 100644 (file)
@@ -47,6 +47,9 @@ public:
   /// \brief Revert solution to initial values
   virtual void undo() = 0;
 
+  /// \brief Check the constraint is conflicted with others
+  virtual bool isConflicting(const ConstraintID& theConstraint) const = 0;
+
 protected:
   GroupID myGroup;       ///< ID of the group to be solved
   bool    myFindFaileds; ///< flag to find conflicting or inappropriate constraints