From f4bc0883344b56d823beab218bcd1659441b2de1 Mon Sep 17 00:00:00 2001 From: dbv Date: Fri, 18 Sep 2015 19:51:45 +0300 Subject: [PATCH] GeomDataAPI documentation update --- src/GeomDataAPI/GeomDataAPI_Point.h | 5 ++++- src/GeomDataAPI/GeomDataAPI_Point2D.h | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/GeomDataAPI/GeomDataAPI_Point.h b/src/GeomDataAPI/GeomDataAPI_Point.h index 0167f479b..ffa07285d 100644 --- a/src/GeomDataAPI/GeomDataAPI_Point.h +++ b/src/GeomDataAPI/GeomDataAPI_Point.h @@ -44,11 +44,14 @@ class GeomDataAPI_Point : public ModelAPI_Attribute const std::string& theY, const std::string& theZ) = 0; - /// Returns the text values + /// Returns the text value for X GEOMDATAAPI_EXPORT virtual std::string textX() = 0; + /// Returns the text value for Y GEOMDATAAPI_EXPORT virtual std::string textY() = 0; + /// Returns the text value for Z GEOMDATAAPI_EXPORT virtual std::string textZ() = 0; + /// Point component (x,y,z) enum PointComponent { C_X = 0, C_Y = 1, C_Z = 2, diff --git a/src/GeomDataAPI/GeomDataAPI_Point2D.h b/src/GeomDataAPI/GeomDataAPI_Point2D.h index 021d24b7c..7f67085e7 100644 --- a/src/GeomDataAPI/GeomDataAPI_Point2D.h +++ b/src/GeomDataAPI/GeomDataAPI_Point2D.h @@ -41,10 +41,12 @@ class GeomDataAPI_Point2D : public ModelAPI_Attribute GEOMDATAAPI_EXPORT virtual void setText(const std::string& theX, const std::string& theY) = 0; - /// Returns the text values + /// Returns the text value for X GEOMDATAAPI_EXPORT virtual std::string textX() = 0; + /// Returns the text value for Y GEOMDATAAPI_EXPORT virtual std::string textY() = 0; + /// Point component (x,y) enum PointComponent { C_X = 0, C_Y = 1, }; -- 2.39.2