-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathSketcher_SnapNearest.hxx
57 lines (44 loc) · 1.1 KB
/
Sketcher_SnapNearest.hxx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/**
* \file Sketcher_SnapNearest.hxx
* \brief Header file for the class Sketcher_SnapNearest
* \author <a href="mailto:[email protected]?subject=Sketcher_SnapNearest.hxx">Sergei Maslov</a>
*/
#ifndef Sketcher_SnapNEAREST_H
#define Sketcher_SnapNEAREST_H
#include "Sketcher_Snap.hxx"
#include <Geom2d_Curve.hxx>
class Geom2d_Curve;
DEFINE_STANDARD_HANDLE(Sketcher_SnapNearest,Sketcher_Snap)
//snap searching nearest point at line/circle/arc
class Sketcher_SnapNearest : public Sketcher_Snap
{
public:
// Type management
DEFINE_STANDARD_RTTIEXT(Sketcher_SnapNearest, Sketcher_Snap)
/**
* \fn Sketcher_SnapNearest()
* \brief Constructs a Sketcher_SnapNearest
*/
Standard_EXPORT Sketcher_SnapNearest();
/**
* \fn ~Sketcher_SnapNearest()
* \brief Destructor
*/
Standard_EXPORT ~Sketcher_SnapNearest();
/**
* \fn SelectEvent()
* \brief find new point
* \return void
*/
Standard_EXPORT void SelectEvent();
/**
* \fn GetSnapType()
* \brief get Snap type
* \return Sketcher_SnapType
*/
Standard_EXPORT Sketcher_SnapType GetSnapType();
private:
//members
Handle(Geom2d_Curve) curGeom2d_Curve;
};
#endif