X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomDataAPI%2FGeomDataAPI_Point2D.h;h=6189e87d21ab221a2945c6fe792b37064e1f664e;hb=c533d1d93579c5841081a310616b1e232baa23c6;hp=02249c24f69edd0e2f484df23dfea1111457dcb8;hpb=2c4f7de06341fa7af89f47ba405fe188f13e3600;p=modules%2Fshaper.git diff --git a/src/GeomDataAPI/GeomDataAPI_Point2D.h b/src/GeomDataAPI/GeomDataAPI_Point2D.h index 02249c24f..6189e87d2 100644 --- a/src/GeomDataAPI/GeomDataAPI_Point2D.h +++ b/src/GeomDataAPI/GeomDataAPI_Point2D.h @@ -17,7 +17,7 @@ class GeomAPI_Pnt2d; class GeomDataAPI_Point2D : public ModelAPI_Attribute { -public: + public: /// Defines the double value virtual void setValue(const double theX, const double theY) = 0; /// Defines the point @@ -31,15 +31,22 @@ public: virtual boost::shared_ptr pnt() = 0; /// Returns the type of this class of attributes - static inline std::string type() {return std::string("Point2D");} + static inline std::string type() + { + return std::string("Point2D"); + } /// Returns the type of this class of attributes, not static method - virtual std::string attributeType() {return type();} + virtual std::string attributeType() + { + return type(); + } -protected: + protected: /// Objects are created for features automatically GeomDataAPI_Point2D() - {} + { + } }; #endif