X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomDataAPI%2FGeomDataAPI_Point2D.h;h=268ff10cfc7df98ccb5b7e99e5af65e70e1e1d6c;hb=4cb94080355bcda617d6560b14bb39619ba90a4a;hp=16a5ee58d0165d75f6ce4e901269570aa1516f0f;hpb=c4eab94a20a0d93100549a210582d46409fec1cc;p=modules%2Fshaper.git diff --git a/src/GeomDataAPI/GeomDataAPI_Point2D.h b/src/GeomDataAPI/GeomDataAPI_Point2D.h index 16a5ee58d..268ff10cf 100644 --- a/src/GeomDataAPI/GeomDataAPI_Point2D.h +++ b/src/GeomDataAPI/GeomDataAPI_Point2D.h @@ -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 @@ -52,13 +52,13 @@ class GeomDataAPI_Point2D : public ModelAPI_Attribute GEOMDATAAPI_EXPORT virtual void setCalculatedValue(const double theX, const double theY) = 0; /// Defines the text values - GEOMDATAAPI_EXPORT virtual void setText(const std::string& theX, - const std::string& theY) = 0; + GEOMDATAAPI_EXPORT virtual void setText(const std::wstring& theX, + const std::wstring& theY) = 0; /// Returns the text value for X - GEOMDATAAPI_EXPORT virtual std::string textX() = 0; + GEOMDATAAPI_EXPORT virtual std::wstring textX() = 0; /// Returns the text value for Y - GEOMDATAAPI_EXPORT virtual std::string textY() = 0; + GEOMDATAAPI_EXPORT virtual std::wstring textY() = 0; /// Point component (x,y) enum PointComponent { C_X = 0, @@ -80,10 +80,10 @@ class GeomDataAPI_Point2D : public ModelAPI_Attribute /// Defines the used parameters GEOMDATAAPI_EXPORT virtual void setUsedParameters(int theComponent, - const std::set& theUsedParameters) = 0; + const std::set& theUsedParameters) = 0; /// Returns the used parameters - GEOMDATAAPI_EXPORT virtual std::set usedParameters(int theComponent) const = 0; + GEOMDATAAPI_EXPORT virtual std::set usedParameters(int theComponent) const = 0; /// Appends the delta values to point GEOMDATAAPI_EXPORT void move(const double theDeltaX, const double theDeltaY);