Salome HOME
First phase of SketchSolver refactoring
[modules/shaper.git] / src / SketchSolver / SketchSolver_ConstraintTangent.h
index a6c744e44e7ff7718981433fa52674a6fbc17bb2..e1716bf74b5c4c493d20ec4c6a298c101b684122 100644 (file)
@@ -22,15 +22,11 @@ public:
       SketchSolver_Constraint(theConstraint)
   {}
 
-  virtual int getType() const
-  { return myType; }
-
 protected:
-  /// \brief Converts SketchPlugin constraint to a list of SolveSpace constraints
-  virtual void process();
-
-private:
-  int myType; ///< type of constraint (applicable: SLVS_C_ARC_LINE_TANGENT, SLVS_C_CURVE_CURVE_TANGENT)
+  /// \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(double& theValue, std::vector<EntityWrapperPtr>& theAttributes);
 };
 
 #endif