Salome HOME
Sketcher: Remove obsolete interfaces. Code cleanup.
[modules/shaper.git] / src / SketchSolver / SketchSolver_ConstraintCoincidence.h
index 634618ff2c3c536d97055df6d040829aa4d301ae..83ec15b408714b155ffb7e20eb4cc9ff55743876 100644 (file)
@@ -7,7 +7,6 @@
 #ifndef SketchSolver_ConstraintCoincidence_H_
 #define SketchSolver_ConstraintCoincidence_H_
 
-#include "SketchSolver.h"
 #include <SketchSolver_Constraint.h>
 
 /** \class   SketchSolver_ConstraintCoincidence
@@ -25,17 +24,20 @@ public:
 
   /// \brief Notify this object about the feature is changed somewhere
   virtual void notify(const FeaturePtr&      theFeature,
-                      PlaneGCSSolver_Update* theUpdater) override;
+                      PlaneGCSSolver_Update* theUpdater);
+
+  /// \brief Remove constraint
+  virtual bool remove();
 
 protected:
-  /// \brief Converts SketchPlugin constraint to a list of SolveSpace constraints
-  virtual void process() override;
+  /// \brief Converts SketchPlugin constraint to a list of solver constraints
+  virtual void process();
 
   /// \brief Generate list of attributes of constraint in order useful for constraints
   /// \param[out] theValue      numerical characteristic of constraint (e.g. distance)
   /// \param[out] theAttributes list of attributes to be filled
   virtual void getAttributes(EntityWrapperPtr&              theValue,
-                             std::vector<EntityWrapperPtr>& theAttributes) override;
+                             std::vector<EntityWrapperPtr>& theAttributes);
 
 protected:
   bool myInSolver; ///< shows the constraint is added to the solver