Salome HOME
Update sketcher unit tests for code coverage
[modules/shaper.git] / src / SketchSolver / SketchSolver_ConstraintMulti.h
index 16db54dbde8881cb2178a782c4515850705d8621..03f0a69235a546db0358e4fb3d7ab546973778aa 100644 (file)
@@ -32,6 +32,10 @@ public:
   /// \brief Update constraint
   void update(bool isForce);
 
+  /// \brief Tries to remove constraint
+  /// \return \c false, if current constraint contains another SketchPlugin constraints (like for multiple coincidence)
+  virtual bool remove();
+
 protected:
   /// \brief Converts SketchPlugin constraint to a list of SolveSpace constraints
   virtual void process()
@@ -68,6 +72,8 @@ protected:
   int myNumberOfCopies;  ///< number of previous copies of initial objects
 
   bool myAdjusted; ///< the constraint is already adjusted (to not do it several times)
+
+  std::set<FeaturePtr> myFeatures; ///< list of features and their copies to find whether some of them are disappeared
 };
 
 #endif