X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomData%2FGeomData_Point.h;fp=src%2FGeomData%2FGeomData_Point.h;h=dbb6baf4510285fbeae520e2284a995a152670f7;hb=e303d57e616d6f4f99abed086396f672904aa3e8;hp=ee2de40a5062a64e3b6c7a1b992eac8e6f9cc493;hpb=5b0181824b3e43792cd4487f6ba8fdf04f569bfc;p=modules%2Fshaper.git diff --git a/src/GeomData/GeomData_Point.h b/src/GeomData/GeomData_Point.h index ee2de40a5..dbb6baf45 100644 --- a/src/GeomData/GeomData_Point.h +++ b/src/GeomData/GeomData_Point.h @@ -49,6 +49,13 @@ class GeomData_Point : public GeomDataAPI_Point GEOMDATA_EXPORT virtual double y() const; /// Returns the Z double value GEOMDATA_EXPORT virtual double z() const; + /// Defines the X coordinate value + GEOMDATA_EXPORT void setX(const double theX); + /// Defines the Y coordinate value + GEOMDATA_EXPORT void setY(const double theY); + /// Defines the Z coordinate value + GEOMDATA_EXPORT void setZ(const double theZ); + /// Returns the 3D point GEOMDATA_EXPORT virtual std::shared_ptr pnt(); @@ -60,6 +67,12 @@ class GeomData_Point : public GeomDataAPI_Point GEOMDATA_EXPORT virtual void setText(const std::string& theX, const std::string& theY, const std::string& theZ); + /// Defines the X text value + GEOMDATA_EXPORT virtual void setTextX(const std::string& theX); + /// Defines the Y text value + GEOMDATA_EXPORT virtual void setTextY(const std::string& theY); + /// Defines the Z text value + GEOMDATA_EXPORT virtual void setTextZ(const std::string& theZ); /// Returns the X text value GEOMDATA_EXPORT virtual std::string textX();