X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchSolver%2FSketchSolver_ConstraintEqual.h;h=12e6a334e973650cc65b7c8c01699c1690d36df3;hb=68a3f0934001109743353b6cc2ac42d8b92bd868;hp=2aca9c850a265fca96d897296e4fcbdce4a86162;hpb=5589e42badfbde3f9e369b25cb0d544a3bcea921;p=modules%2Fshaper.git diff --git a/src/SketchSolver/SketchSolver_ConstraintEqual.h b/src/SketchSolver/SketchSolver_ConstraintEqual.h index 2aca9c850..12e6a334e 100644 --- a/src/SketchSolver/SketchSolver_ConstraintEqual.h +++ b/src/SketchSolver/SketchSolver_ConstraintEqual.h @@ -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_EQUAL_LENGTH_LINES, SLVS_C_EQUAL_RADIUS, SLVS_C_EQUAL_LINE_ARC_LEN) + /// \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& theAttributes); }; #endif