Salome HOME
refs #30 - Sketch base GUI: create, draw lines
[modules/shaper.git] / src / GeomAPI / GeomAPI_Dir.h
index a003d3826bf825ac8398ffd3525b3620f386c95e..afdab1c090ccb2e7bbce10e42e98ff26bf4d4898 100644 (file)
@@ -6,6 +6,9 @@
 #define GeomAPI_Dir_HeaderFile
 
 #include <GeomAPI_Interface.h>
+#include <boost/shared_ptr.hpp>
+
+class GeomAPI_XYZ;
 
 /**\class GeomAPI_Dir
  * \ingroup DataModel
@@ -24,6 +27,9 @@ public:
   double y() const;
   /// returns Z coordinate
   double z() const;
+
+  /// returns coordinates of the direction
+  const boost::shared_ptr<GeomAPI_XYZ> xyz();
 };
 
 #endif