Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / GeomAPI / GeomAPI_Dir.h
1 // File:        GeomAPI_Dir.hxx
2 // Created:     23 Apr 2014
3 // Author:      Mikhail PONIKAROV
4
5 #ifndef GeomAPI_Dir_HeaderFile
6 #define GeomAPI_Dir_HeaderFile
7
8 #include <GeomAPI_Interface.h>
9
10 /**\class GeomAPI_Dir
11  * \ingroup DataModel
12  * \brief 3D direction defined by three normalized coordinates
13  */
14
15 class GEOMAPI_EXPORT GeomAPI_Dir: public GeomAPI_Interface
16 {
17 public:
18   /// Creation of direction by coordinates
19   GeomAPI_Dir(const double theX, const double theY, const double theZ);
20
21   /// returns X coordinate
22   double x() const;
23   /// returns Y coordinate
24   double y() const;
25   /// returns Z coordinate
26   double z() const;
27
28 };
29
30 #endif
31