X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchSolver%2FSketchSolver_ConstraintAngle.h;h=cff6937c39f2a54ff5e7cb0661e169b9232d5f6e;hb=4f565b2204d3fba046aa8c851abada2a5a17bf6c;hp=4d91aced435e949b13f2f0a1c76ccd82c70e6eeb;hpb=5589e42badfbde3f9e369b25cb0d544a3bcea921;p=modules%2Fshaper.git diff --git a/src/SketchSolver/SketchSolver_ConstraintAngle.h b/src/SketchSolver/SketchSolver_ConstraintAngle.h index 4d91aced4..cff6937c3 100644 --- a/src/SketchSolver/SketchSolver_ConstraintAngle.h +++ b/src/SketchSolver/SketchSolver_ConstraintAngle.h @@ -22,20 +22,18 @@ public: myAngle(0.0) {} - virtual int getType() const - { return SLVS_C_ANGLE; } - /// \brief This method is used in derived objects to check consistence of constraint. virtual void adjustConstraint(); protected: - /// \brief Generate list of attributes of constraint in order useful for SolveSpace constraints + /// \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); + virtual void getAttributes(double& theValue, std::vector& theAttributes); private: double myAngle; + int myType; }; #endif