b311480e |
1 | // Created on: 1995-05-30 |
2 | // Created by: Jacques GOUSSARD |
3 | // Copyright (c) 1995-1999 Matra Datavision |
973c2be1 |
4 | // Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
5 | // |
973c2be1 |
6 | // This file is part of Open CASCADE Technology software library. |
b311480e |
7 | // |
d5f74e42 |
8 | // This library is free software; you can redistribute it and/or modify it under |
9 | // the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
10 | // by the Free Software Foundation, with special exception defined in the file |
11 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
12 | // distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
13 | // |
973c2be1 |
14 | // Alternatively, this file may be used under the terms of Open CASCADE |
15 | // commercial license or contractual agreement. |
b311480e |
16 | |
7fd59977 |
17 | // Modified by jag, Tue May 30 09:47:02 1995 |
18 | |
19 | |
20 | //======================================================================= |
21 | //function : BRepFeat_MakeCylindricalHole |
22 | //purpose : |
23 | //======================================================================= |
24 | |
25 | inline BRepFeat_MakeCylindricalHole::BRepFeat_MakeCylindricalHole (): |
c24d4017 |
26 | myAxDef(Standard_False), |
27 | myStatus(BRepFeat_NoError), |
28 | myIsBlind(Standard_False), |
29 | myValidate(Standard_False) |
7fd59977 |
30 | {} |
31 | |
7fd59977 |
32 | //======================================================================= |
33 | //function : Init |
34 | //purpose : |
35 | //======================================================================= |
36 | |
37 | inline void BRepFeat_MakeCylindricalHole::Init(const gp_Ax1& Axis) |
38 | { |
39 | myAxis = Axis; |
40 | myAxDef = Standard_True; |
41 | } |
42 | |
43 | |
44 | //======================================================================= |
45 | //function : Init |
46 | //purpose : |
47 | //======================================================================= |
48 | |
49 | inline void BRepFeat_MakeCylindricalHole::Init(const TopoDS_Shape& S, |
4e57c75e |
50 | const gp_Ax1& Axis) |
7fd59977 |
51 | { |
52 | BRepFeat_Builder::Init(S); |
53 | myAxis = Axis; |
54 | myAxDef = Standard_True; |
55 | } |
56 | |
7fd59977 |
57 | //======================================================================= |
58 | //function : Status |
59 | //purpose : |
60 | //======================================================================= |
61 | |
62 | inline BRepFeat_Status BRepFeat_MakeCylindricalHole::Status () const |
63 | { |
64 | return myStatus; |
65 | } |