X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FGeomDataAPI%2FGeomDataAPI_Dir.h;h=dbe8ef5e26f0a2c5d6f3d1e4d1648e1c0c4d2c96;hb=d6325cea33b6269c055ab12849fc835df28b05ec;hp=90ab6161459dd5a5658576ad62bee3452d99a46d;hpb=d4572a0253007ff9fc263253720e37bf896f8d0d;p=modules%2Fshaper.git diff --git a/src/GeomDataAPI/GeomDataAPI_Dir.h b/src/GeomDataAPI/GeomDataAPI_Dir.h index 90ab61614..dbe8ef5e2 100644 --- a/src/GeomDataAPI/GeomDataAPI_Dir.h +++ b/src/GeomDataAPI/GeomDataAPI_Dir.h @@ -8,6 +8,8 @@ #include "GeomDataAPI.h" #include +class GeomAPI_Dir; + /**\class GeomDataAPI_Dir * \ingroup DataModel * \brief Attribute that contains 3D direction coordinates. @@ -25,9 +27,11 @@ public: virtual double y() const = 0; /// Returns the Z double value virtual double z() const = 0; + /// Returns the direction of this attribute + virtual boost::shared_ptr dir() = 0; /// Returns the type of this class of attributes - static inline std::string type() {return std::string("Point");} + static inline std::string type() {return std::string("Dir");} /// Returns the type of this class of attributes, not static method virtual std::string attributeType() {return type();}