0023024: Update headers of OCCT files
[occt.git] / src / BRepFeat / BRepFeat_MakeCylindricalHole.lxx
CommitLineData
b311480e 1// Created on: 1995-05-30
2// Created by: Jacques GOUSSARD
3// Copyright (c) 1995-1999 Matra Datavision
4// Copyright (c) 1999-2012 OPEN CASCADE SAS
5//
6// The content of this file is subject to the Open CASCADE Technology Public
7// License Version 6.5 (the "License"). You may not use the content of this file
8// except in compliance with the License. Please obtain a copy of the License
9// at http://www.opencascade.org and read it completely before using this file.
10//
11// The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12// main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13//
14// The Original Code and all software distributed under the License is
15// distributed on an "AS IS" basis, without warranty of any kind, and the
16// Initial Developer hereby disclaims all such warranties, including without
17// limitation, any warranties of merchantability, fitness for a particular
18// purpose or non-infringement. Please see the License for the specific terms
19// and conditions governing the rights and limitations under the License.
20
7fd59977 21// Modified by jag, Tue May 30 09:47:02 1995
22
23
24//=======================================================================
25//function : BRepFeat_MakeCylindricalHole
26//purpose :
27//=======================================================================
28
29inline BRepFeat_MakeCylindricalHole::BRepFeat_MakeCylindricalHole ():
30 myAxDef(Standard_False)
31{}
32
33//=======================================================================
34//function : BRepFeat_MakeCylindricalHole
35//purpose :
36//=======================================================================
37
38inline BRepFeat_MakeCylindricalHole::BRepFeat_MakeCylindricalHole
39 (const TopoDS_Shape& S):
40 BRepFeat_Builder(S),myAxDef(Standard_False)
41{}
42
43//=======================================================================
44//function : BRepFeat_MakeCylindricalHole
45//purpose :
46//=======================================================================
47
48inline BRepFeat_MakeCylindricalHole::BRepFeat_MakeCylindricalHole
49 (const TopoDS_Shape& S,
50 const gp_Ax1& Axis):
51 BRepFeat_Builder(S),myAxis(Axis),myAxDef(Standard_True)
52{}
53
54
55//=======================================================================
56//function : Init
57//purpose :
58//=======================================================================
59
60inline void BRepFeat_MakeCylindricalHole::Init(const gp_Ax1& Axis)
61{
62 myAxis = Axis;
63 myAxDef = Standard_True;
64}
65
66
67//=======================================================================
68//function : Init
69//purpose :
70//=======================================================================
71
72inline void BRepFeat_MakeCylindricalHole::Init(const TopoDS_Shape& S,
73 const gp_Ax1& Axis)
74{
75 BRepFeat_Builder::Init(S);
76 myAxis = Axis;
77 myAxDef = Standard_True;
78}
79
80
81//=======================================================================
82//function : Status
83//purpose :
84//=======================================================================
85
86inline BRepFeat_Status BRepFeat_MakeCylindricalHole::Status () const
87{
88 return myStatus;
89}