X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchSolver%2FSketchSolver_Constraint.h;h=8589dc19bb7d5b3d2e23e48a71950db084f71e5b;hb=e94feebdafb664910b36c3a2e526b06cd7dd3fdc;hp=0ceac28125645ed10fc5aa39649ccc1cc1d21695;hpb=06864226f436bef182992679b7181d7038e36dd6;p=modules%2Fshaper.git diff --git a/src/SketchSolver/SketchSolver_Constraint.h b/src/SketchSolver/SketchSolver_Constraint.h index 0ceac2812..8589dc19b 100644 --- a/src/SketchSolver/SketchSolver_Constraint.h +++ b/src/SketchSolver/SketchSolver_Constraint.h @@ -51,7 +51,7 @@ public: /// \brief Returns the type of constraint virtual int getType() const = 0; - /// \brief The constraint is made temoparary + /// \brief The constraint is made temporary void makeTemporary() const; /// \brief Checks the constraint is used by current object @@ -67,7 +67,7 @@ public: Slvs_hEntity getId(AttributePtr theAttribute) const; /// \brief Adds a feature to constraint and create its analogue in SolveSpace - void addFeature(FeaturePtr theFeature); + virtual void addFeature(FeaturePtr theFeature); /// \brief Shows error message const std::string& error() const @@ -87,7 +87,7 @@ protected: /// \return \c true if some attributes are changed virtual bool checkAttributesChanged(ConstraintPtr theConstraint); - /// \brief This method is used in derived objects to check consistence of constraint. + /// \brief This method is used in derived objects to check consistency of constraint. /// E.g. the distance between line and point may be signed. virtual void adjustConstraint() {}