X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchAPI%2FSketchAPI_IntersectionPoint.cpp;h=6cc79abd2b1bd5092adc5f6296d8496ec943ab84;hb=06e7f5859095193fc7f498bd89a7d28009794f53;hp=ff689965c69a9c76e49d76cc311f43505f41009d;hpb=1c3738ae81b02ba62136ac03a53a81a532b95141;p=modules%2Fshaper.git diff --git a/src/SketchAPI/SketchAPI_IntersectionPoint.cpp b/src/SketchAPI/SketchAPI_IntersectionPoint.cpp index ff689965c..6cc79abd2 100644 --- a/src/SketchAPI/SketchAPI_IntersectionPoint.cpp +++ b/src/SketchAPI/SketchAPI_IntersectionPoint.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// Copyright (C) 2014-2023 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -12,10 +12,9 @@ // // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software -// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or -// email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #include "SketchAPI_IntersectionPoint.h" @@ -48,7 +47,7 @@ SketchAPI_IntersectionPoint::SketchAPI_IntersectionPoint( SketchAPI_IntersectionPoint::SketchAPI_IntersectionPoint( const std::shared_ptr & theFeature, - const std::string & theExternalName ) + const std::wstring & theExternalName ) : SketchAPI_SketchEntity(theFeature) { if (initialize()) { @@ -69,7 +68,7 @@ void SketchAPI_IntersectionPoint::setByExternalEdge(const ModelHighAPI_Selection execute(); } -void SketchAPI_IntersectionPoint::setByExternalEdgeName(const std::string & theExternalLineName) +void SketchAPI_IntersectionPoint::setByExternalEdgeName(const std::wstring & theExternalLineName) { fillAttribute(ModelHighAPI_Selection("EDGE", theExternalLineName), externalFeature());