]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomData/GeomData_Point2D.h
Salome HOME
Issue #718 - Translation with parameters - wrong coordinates
[modules/shaper.git] / src / GeomData / GeomData_Point2D.h
index 8a41a4c0c5056613619939b2bd0aabcebd914204..5036741505af82ce5e3c724a5c441e9588971dec 100644 (file)
@@ -37,11 +37,14 @@ class GeomData_Point2D : public GeomDataAPI_Point2D
   /// Returns the 2D point
   GEOMDATA_EXPORT virtual std::shared_ptr<GeomAPI_Pnt2d> pnt();
 
-  /// Defines the double values
+  /// Defines the calculated double value
+  GEOMDATA_EXPORT virtual void setCalculatedValue(const double theX, const double theY);
+
+  /// Defines the text values
   GEOMDATA_EXPORT virtual void setText(const std::string& theX,
                                        const std::string& theY);
 
-  /// Returns the double values
+  /// Returns the text values
   GEOMDATA_EXPORT virtual std::string textX();
   GEOMDATA_EXPORT virtual std::string textY();