-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathSketcher_SnapLinePerpendicular.hxx
69 lines (55 loc) · 1.45 KB
/
Sketcher_SnapLinePerpendicular.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
58
59
60
61
62
63
64
65
66
67
68
69
/**
* \file Sketcher_SnapLinePerpendicular.hxx
* \brief Header file for the class Sketcher_SnapLinePerpendicular
* \author <a href="mailto:[email protected]?subject=Sketcher_SnapLinePerpendicular.hxx">Sergei Maslov</a>
*/
#ifndef Sketcher_SnapLinePerpendicular_H
#define Sketcher_SnapLinePerpendicular_H
#include "Sketcher_SnapLine.hxx"
#include <AIS_PerpendicularRelation.hxx>
DEFINE_STANDARD_HANDLE(Sketcher_SnapLinePerpendicular,Sketcher_SnapLine)
//snap searching perpendicular lines
class Sketcher_SnapLinePerpendicular : public Sketcher_SnapLine
{
public:
// Type management
DEFINE_STANDARD_RTTIEXT(Sketcher_SnapLinePerpendicular, Sketcher_SnapLine)
/**
* \fn Sketcher_SnapLinePerpendicular()
* \brief Constructs a Sketcher_SnapLinePerpendicular
*/
Standard_EXPORT Sketcher_SnapLinePerpendicular();
/**
* \fn ~Sketcher_SnapLinePerpendicular()
* \brief Destructor
*/
Standard_EXPORT ~Sketcher_SnapLinePerpendicular();
/**
* \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();
/**
* \fn DrawRelation()
* \brief draw relation
* \return void
*/
Standard_EXPORT void DrawRelation();
/**
* \fn EraseRelation()
* \brief erase relation
* \return void
*/
Standard_EXPORT void EraseRelation();
private:
//members
Handle(AIS_PerpendicularRelation) myPerRelation;
};
#endif