Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / PartSet / PartSet_Tools.h
1 // File:        PartSet_Tools.h
2 // Created:     28 Apr 2014
3 // Author:      Natalia ERMOLAEVA
4
5 #ifndef PartSet_Tools_H
6 #define PartSet_Tools_H
7
8 #include "PartSet.h"
9
10 #include <gp_Pnt.hxx>
11
12 #include <QPoint>
13
14 class Handle_V3d_View;
15
16 /*!
17  \class PartSet_Tools
18  * \brief The operation for the sketch feature creation
19 */
20 class PARTSET_EXPORT PartSet_Tools
21 {
22 public:
23   /// Converts the 2D screen point to the 3D point on the view according to the point of view
24   /// \param thePoint a screen point
25   /// \param theView a 3D view
26   static gp_Pnt ConvertClickToPoint(QPoint thePoint, Handle_V3d_View theView);
27
28 };
29
30 #endif