Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / GeomAPI / GeomAPI_Pnt.h
1 // File:        GeomAPI_Pnt.hxx
2 // Created:     23 Apr 2014
3 // Author:      Mikhail PONIKAROV
4
5 #ifndef GeomAPI_Pnt_HeaderFile
6 #define GeomAPI_Pnt_HeaderFile
7
8 #include <GeomAPI_Interface.h>
9
10 /**\class GeomAPI_Pnt
11  * \ingroup DataModel
12  * \brief 3D point defined by three coordinates
13  */
14
15 class GEOMAPI_EXPORT GeomAPI_Pnt: public GeomAPI_Interface
16 {
17 public:
18   /// Creation of point by coordinates
19   GeomAPI_Pnt(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   /// sets X coordinate
29   void setX(const double theX);
30   /// sets Y coordinate
31   void setY(const double theY);
32   /// sets Z coordinate
33   void setZ(const double theZ);
34 };
35
36 #endif
37