X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchAPI%2FSketchAPI_EllipticArc.cpp;h=ce9064c7d21b5210e6ae38e26903be32371ecf68;hb=9270adddc12db9661c676544537b0e8eb78c1624;hp=a3e39a2b65147ab1f21c4fd5f3d20974162e1aea;hpb=ed5df03349ef8e7a9ab592a6a52df0a801d5af14;p=modules%2Fshaper.git diff --git a/src/SketchAPI/SketchAPI_EllipticArc.cpp b/src/SketchAPI/SketchAPI_EllipticArc.cpp index a3e39a2b6..ce9064c7d 100644 --- a/src/SketchAPI/SketchAPI_EllipticArc.cpp +++ b/src/SketchAPI/SketchAPI_EllipticArc.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// Copyright (C) 2014-2022 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 @@ -74,7 +74,7 @@ SketchAPI_EllipticArc::SketchAPI_EllipticArc(const std::shared_ptr& theFeature, - const std::string& theExternalName) + const std::wstring& theExternalName) : SketchAPI_SketchEntity(theFeature) { if (initialize()) { @@ -125,7 +125,7 @@ void SketchAPI_EllipticArc::setByExternal(const ModelHighAPI_Selection & theExte execute(); } -void SketchAPI_EllipticArc::setByExternalName(const std::string & theExternalName) +void SketchAPI_EllipticArc::setByExternalName(const std::wstring & theExternalName) { fillAttribute(ModelHighAPI_Selection("EDGE", theExternalName), external()); execute(); @@ -178,15 +178,15 @@ static const std::list& ellipticArcAttrAndDumpNames() } std::list > SketchAPI_EllipticArc::construction( - const std::string& center, - const std::string& firstFocus, - const std::string& secondFocus, - const std::string& majorAxisStart, - const std::string& majorAxisEnd, - const std::string& minorAxisStart, - const std::string& minorAxisEnd, - const std::string& majorAxis, - const std::string& minorAxis) const + const std::wstring& center, + const std::wstring& firstFocus, + const std::wstring& secondFocus, + const std::wstring& majorAxisStart, + const std::wstring& majorAxisEnd, + const std::wstring& minorAxisStart, + const std::wstring& minorAxisEnd, + const std::wstring& majorAxis, + const std::wstring& minorAxis) const { FeaturePtr anEllipse = feature();