Salome HOME
New features processing in SketchSolver (stage 1)
[modules/shaper.git] / src / GeomDataAPI / GeomDataAPI_Dir.h
index 92018306c90f6e77fab041541d2c01d46956e59e..dbe8ef5e26f0a2c5d6f3d1e4d1648e1c0c4d2c96 100644 (file)
@@ -8,6 +8,8 @@
 #include "GeomDataAPI.h"
 #include <ModelAPI_Attribute.h>
 
+class GeomAPI_Dir;
+
 /**\class GeomDataAPI_Dir
  * \ingroup DataModel
  * \brief Attribute that contains 3D direction coordinates. 
@@ -25,6 +27,8 @@ 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<GeomAPI_Dir> dir() = 0;
 
   /// Returns the type of this class of attributes
   static inline std::string type() {return std::string("Dir");}