]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomDataAPI/GeomDataAPI_Point2D.h
Salome HOME
Issue #718 - Translation with parameters - wrong coordinates
[modules/shaper.git] / src / GeomDataAPI / GeomDataAPI_Point2D.h
index c693456a99f66b4636d43ff7665d9fcd758a7da4..3da9d2f009391dfcef1f12d90b50968836c77348 100644 (file)
@@ -32,11 +32,14 @@ class GeomDataAPI_Point2D : public ModelAPI_Attribute
   /// Returns the 2D point
   GEOMDATAAPI_EXPORT virtual std::shared_ptr<GeomAPI_Pnt2d> pnt() = 0;
 
-  /// Defines the double values
+  /// Defines the calculated double value
+  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;
 
-  /// Returns the double values
+  /// Returns the text values
   GEOMDATAAPI_EXPORT virtual std::string textX() = 0;
   GEOMDATAAPI_EXPORT virtual std::string textY() = 0;