Salome HOME
#1329 arc tangent arc mode problem
[modules/shaper.git] / src / SketchSolver / SketchSolver_Group.h
index 1586f6818924a2710ddd7ef7aba0e658bc474a74..f814dda84a19e87a8586fd46197b8c8a0a46070b 100644 (file)
@@ -61,6 +61,12 @@ class SketchSolver_Group
     return mySketch->data() && mySketch->data()->isValid();
   }
 
+  /// \brief Check the group has conflicting constraints
+  inline bool isFailed() const
+  {
+    return !myConflictingConstraints.empty();
+  }
+
   /** \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