X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Tools.h;h=6f46bdf1ae87f9e0d9a156777df35f1792babc0b;hb=cdbbde4803e9c320204d537d22af4ac7ef024962;hp=11aa5a1ac0322392a09e89adb2f28c8655421989;hpb=4dd10dddeec6b5861d90ee784aaa18129638ce36;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Tools.h b/src/SketchPlugin/SketchPlugin_Tools.h index 11aa5a1ac..6f46bdf1a 100644 --- a/src/SketchPlugin/SketchPlugin_Tools.h +++ b/src/SketchPlugin/SketchPlugin_Tools.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// Copyright (C) 2014-2021 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -68,13 +68,6 @@ std::set findFeaturesCoincidentToPoint(const AttributePoint2DPtr& th /// Find all points the given point is coincident to. std::set findPointsCoincidentToPoint(const AttributePoint2DPtr& thePoint); -/// Find all points the given point is coincident to. -/// Returns GeomDataAPI_Point2D attribute and -/// GeomDataAPI_Point2DArray with the index of coincident point. -void findPointsCoincidentToPoint(const AttributePoint2DPtr& thePoint, - std::set& thePoints, - std::map& thePointsInArray); - void resetAttribute(SketchPlugin_Feature* theFeature, const std::string& theId); /// Create new constraint between given attributes @@ -155,7 +148,7 @@ void customizeFeaturePrs(const AISObjectPtr& thePrs, bool isAxiliary); void setDimensionColor(const AISObjectPtr& theDimPrs); /// Replace string in the name of object -void replaceInName(ObjectPtr theObject, const std::string& theSource, const std::string& theDest); +void replaceInName(ObjectPtr theObject, const std::wstring& theSource, const std::wstring& theDest); }; // namespace SketchPlugin_Tools