Salome HOME
Using test for testing number of sub-shapes.
[modules/shaper.git] / src / SketchSolver / SketchSolver_ConstraintMovement.h
index ba119beaadf2f6bc7cab53469949838d3b9a19c3..63211fa4fb6262ec8c0f5462bedb468127c84603 100644 (file)
@@ -28,14 +28,21 @@ public:
     : SketchSolver_ConstraintFixed(theFeature)
   {}
 
+  /// \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();
 
   /// \brief Generate list of attributes of constraint in order useful for SolveSpace constraints
   /// \param[out] theValue        numerical characteristic of constraint (e.g. distance)
-  /// \param[out] theAttributes   list of attributes to be filled (list of moved entities or attributes)
-  virtual void getAttributes(ParameterWrapperPtr& theValue, std::vector<EntityWrapperPtr>& theAttributes);
+  /// \param[out] theAttributes   list of attributes to be filled
+  /// (list of moved entities or attributes)
+  virtual void getAttributes(ParameterWrapperPtr& theValue,
+                             std::vector<EntityWrapperPtr>& theAttributes);
 
 private:
   std::vector<EntityWrapperPtr> myMovedEntities; ///< list of entities that are moved