From: dbv Date: Fri, 18 Sep 2015 16:51:45 +0000 (+0300) Subject: GeomDataAPI documentation update X-Git-Tag: V_1.4.0~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f4bc0883344b56d823beab218bcd1659441b2de1;p=modules%2Fshaper.git GeomDataAPI documentation update --- 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, };