summaryrefslogtreecommitdiff
path: root/inc/BRepFeat_MakeCylindricalHole.lxx
blob: 5075dfc5ff8466dc1298f00408dc7c06f8595961 (plain)
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
70
71
72
73
// File:	BRepFeat_MakeCylindricalHole.lxx
// Created:	Tue May 30 09:44:13 1995
// Author:	Jacques GOUSSARD
//		<jag@bravox>
// Modified by jag, Tue May 30 09:47:02 1995


//=======================================================================
//function : BRepFeat_MakeCylindricalHole
//purpose  : 
//=======================================================================

inline BRepFeat_MakeCylindricalHole::BRepFeat_MakeCylindricalHole ():
   myAxDef(Standard_False)
{}

//=======================================================================
//function : BRepFeat_MakeCylindricalHole
//purpose  : 
//=======================================================================

inline BRepFeat_MakeCylindricalHole::BRepFeat_MakeCylindricalHole 
    (const TopoDS_Shape& S):
   BRepFeat_Builder(S),myAxDef(Standard_False)
{}

//=======================================================================
//function : BRepFeat_MakeCylindricalHole
//purpose  : 
//=======================================================================

inline BRepFeat_MakeCylindricalHole::BRepFeat_MakeCylindricalHole 
    (const TopoDS_Shape& S,
     const gp_Ax1& Axis):
   BRepFeat_Builder(S),myAxis(Axis),myAxDef(Standard_True)
{}


//=======================================================================
//function : Init
//purpose  : 
//=======================================================================

inline void BRepFeat_MakeCylindricalHole::Init(const gp_Ax1& Axis)
{
  myAxis = Axis;
  myAxDef = Standard_True;
}


//=======================================================================
//function : Init
//purpose  : 
//=======================================================================

inline void BRepFeat_MakeCylindricalHole::Init(const TopoDS_Shape& S,
					       const gp_Ax1& Axis)
{
  BRepFeat_Builder::Init(S);
  myAxis = Axis;
  myAxDef = Standard_True;
}


//=======================================================================
//function : Status
//purpose  : 
//=======================================================================

inline BRepFeat_Status BRepFeat_MakeCylindricalHole::Status () const
{
  return myStatus;
}