X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchSolver%2FSketchSolver_ConstraintFixed.h;h=fd56f87d910966f4e39cca63f59bfd89584bc189;hb=4f565b2204d3fba046aa8c851abada2a5a17bf6c;hp=518683755ec1a8a74a0663da75b8bfe174057f60;hpb=29d446f4dd2969d80087745fe44adb5638d13de7;p=modules%2Fshaper.git diff --git a/src/SketchSolver/SketchSolver_ConstraintFixed.h b/src/SketchSolver/SketchSolver_ConstraintFixed.h index 518683755..fd56f87d9 100644 --- a/src/SketchSolver/SketchSolver_ConstraintFixed.h +++ b/src/SketchSolver/SketchSolver_ConstraintFixed.h @@ -29,7 +29,8 @@ public: SketchSolver_ConstraintFixed(FeaturePtr theFeature); /// \brief Tries to remove constraint - /// \return \c false, if current constraint contains another SketchPlugin constraints (like for multiple coincidence) + /// \return \c false, if current constraint contains another + /// SketchPlugin constraints (like for multiple coincidence) virtual bool remove(); protected: @@ -39,7 +40,8 @@ protected: /// \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(ParameterWrapperPtr& theValue, std::vector& theAttributes); + virtual void getAttributes(ParameterWrapperPtr& theValue, + std::vector& theAttributes); /// \brief Fixed feature basing on its type /// \param theFeature [in] feature, converted to solver specific format @@ -49,7 +51,8 @@ protected: FeaturePtr myBaseFeature; ///< fixed feature (when it is set, myBaseConstraint should be NULL) private: - AttributeRefAttrPtr myFixedAttribute; ///< attribute of a fixed constraint (for correct remove) + AttributePtr myFixedAttribute; ///< possible attribute of a fixed constraint (for correct remove) + FeaturePtr myFixedFeature; ///< possible attribute of a fixed constraint (for correct remove) }; #endif