7fd59977 |
1 | // File: BRepFeat_MakeCylindricalHole.lxx |
2 | // Created: Tue May 30 09:44:13 1995 |
3 | // Author: Jacques GOUSSARD |
4 | // <jag@bravox> |
5 | // Modified by jag, Tue May 30 09:47:02 1995 |
6 | |
7 | |
8 | //======================================================================= |
9 | //function : BRepFeat_MakeCylindricalHole |
10 | //purpose : |
11 | //======================================================================= |
12 | |
13 | inline BRepFeat_MakeCylindricalHole::BRepFeat_MakeCylindricalHole (): |
14 | myAxDef(Standard_False) |
15 | {} |
16 | |
17 | //======================================================================= |
18 | //function : BRepFeat_MakeCylindricalHole |
19 | //purpose : |
20 | //======================================================================= |
21 | |
22 | inline BRepFeat_MakeCylindricalHole::BRepFeat_MakeCylindricalHole |
23 | (const TopoDS_Shape& S): |
24 | BRepFeat_Builder(S),myAxDef(Standard_False) |
25 | {} |
26 | |
27 | //======================================================================= |
28 | //function : BRepFeat_MakeCylindricalHole |
29 | //purpose : |
30 | //======================================================================= |
31 | |
32 | inline BRepFeat_MakeCylindricalHole::BRepFeat_MakeCylindricalHole |
33 | (const TopoDS_Shape& S, |
34 | const gp_Ax1& Axis): |
35 | BRepFeat_Builder(S),myAxis(Axis),myAxDef(Standard_True) |
36 | {} |
37 | |
38 | |
39 | //======================================================================= |
40 | //function : Init |
41 | //purpose : |
42 | //======================================================================= |
43 | |
44 | inline void BRepFeat_MakeCylindricalHole::Init(const gp_Ax1& Axis) |
45 | { |
46 | myAxis = Axis; |
47 | myAxDef = Standard_True; |
48 | } |
49 | |
50 | |
51 | //======================================================================= |
52 | //function : Init |
53 | //purpose : |
54 | //======================================================================= |
55 | |
56 | inline void BRepFeat_MakeCylindricalHole::Init(const TopoDS_Shape& S, |
57 | const gp_Ax1& Axis) |
58 | { |
59 | BRepFeat_Builder::Init(S); |
60 | myAxis = Axis; |
61 | myAxDef = Standard_True; |
62 | } |
63 | |
64 | |
65 | //======================================================================= |
66 | //function : Status |
67 | //purpose : |
68 | //======================================================================= |
69 | |
70 | inline BRepFeat_Status BRepFeat_MakeCylindricalHole::Status () const |
71 | { |
72 | return myStatus; |
73 | } |