X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Split.h;h=363db36458a37f3051af9524741a864d2d490eec;hb=0c54e2dea1ee3052eda2e551bfb9108f97183f90;hp=1c9ae40e53441b66a14737ec0cdd42675579968b;hpb=b3695c3af5289903f1c0fa01bbb7c40203c5e544;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Split.h b/src/SketchPlugin/SketchPlugin_Split.h index 1c9ae40e5..363db3645 100644 --- a/src/SketchPlugin/SketchPlugin_Split.h +++ b/src/SketchPlugin/SketchPlugin_Split.h @@ -181,12 +181,15 @@ private: /// \param theFurtherCoincidences a list of points where coincidences will be build /// \param theFeatureResults created results after split where constaint might be connected /// \param theSplitFeature feature created by split, new coincidences to points should be created + /// \param theFeaturesToDelete the list of removed features (will be updated here by + /// the coincidences to be removed) /// if theCoincidenceToFeature contains equal points void updateCoincidenceConstraintsToFeature( const std::map, IdToPointPair>& theCoincidenceToFeature, const std::set >& theFurtherCoincidences, const std::set& theFeatureResults, - const FeaturePtr& theSplitFeature); + const FeaturePtr& theSplitFeature, + std::set& theFeaturesToDelete); /// Move constraints from base feature to given feature /// \param theFeature a base feature @@ -294,22 +297,6 @@ private: const AttributePtr& theFirstPointAttr, const AttributePtr& theSecondPointAttr); - /// Add feature coincidence constraint between given attributes - /// \param theConstraintId a constraint index - /// \param theFirstAttribute an attribute of further coincidence - /// \param theSecondAttribute an attribute of further coincidence - std::shared_ptr createConstraint(const std::string& theConstraintId, - const std::shared_ptr& theFirstAttribute, - const std::shared_ptr& theSecondAttribute); - - /// Add feature coincidence constraint between given attributes - /// \param theConstraintId a constraint index - /// \param theFirstAttribute an attribute of further coincidence - /// \param theFirstAttribute an attribute of further coincidence - std::shared_ptr createConstraintForObjects(const std::string& theConstraintId, - const std::shared_ptr& theFirstObject, - const std::shared_ptr& theSecondObject); - /// Add feature coincidence constraint between given attributes /// \param theFeaturesToUpdate a constraint index void updateFeaturesAfterSplit(const std::set& theFeaturesToUpdate);