X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchSolver%2FSketchSolver_ConstraintGroup.h;h=36583e3381362b75fa054cc3983a0e39c33d3678;hb=51889d235a27d0ee4b3c3237d21d1ea621063580;hp=4d9a2d7698bb0d28b52aabbd6ec4adefd0a9b2bd;hpb=93390904f99935a117856d9777d1bb542b1b38bd;p=modules%2Fshaper.git diff --git a/src/SketchSolver/SketchSolver_ConstraintGroup.h b/src/SketchSolver/SketchSolver_ConstraintGroup.h index 4d9a2d769..36583e338 100644 --- a/src/SketchSolver/SketchSolver_ConstraintGroup.h +++ b/src/SketchSolver/SketchSolver_ConstraintGroup.h @@ -1,3 +1,5 @@ +// Copyright (C) 2014-20xx CEA/DEN, EDF R&D + // File: SketchSolver_ConstraintGroup.h // Created: 27 May 2014 // Author: Artem ZHIDKOV @@ -23,7 +25,7 @@ typedef std::map< std::shared_ptr, std::vector theConstraint); + /** \brief Adds or updates a rigid constraint in the group + * \param[in] theConstraint constraint to be changed + * \return \c true if the constraint added or updated successfully + */ bool changeRigidConstraint(std::shared_ptr theConstraint); /** \brief Verifies the feature attributes are used in this group @@ -74,6 +80,7 @@ class SketchSolver_ConstraintGroup */ bool isBaseWorkplane(std::shared_ptr theWorkplane) const; + /// Returns the current workplane std::shared_ptr getWorkplane() const { return mySketch; @@ -113,6 +120,9 @@ class SketchSolver_ConstraintGroup * \param[in] theEntity attribute of the constraint */ void updateRelatedConstraints(std::shared_ptr theEntity) const; + /** \brief Searches the constraints built on the entity and emit the signal to update them + * \param[in] theFeature feature of the constraint + */ void updateRelatedConstraintsFeature(std::shared_ptr theFeature) const; /** \brief Adds or updates an entity in the group