1// Created on: 1995-05-30 2// Created by: Jacques GOUSSARD 3// Copyright (c) 1995-1999 Matra Datavision 4// Copyright (c) 1999-2014 OPEN CASCADE SAS 5// 6// This file is part of Open CASCADE Technology software library. 7// 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 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. 13// 14// Alternatively, this file may be used under the terms of Open CASCADE 15// commercial license or contractual agreement. 16 17// Modified by jag, Tue May 30 09:47:02 1995 18 19 20//======================================================================= 21//function : BRepFeat_MakeCylindricalHole 22//purpose : 23//======================================================================= 24 25inline BRepFeat_MakeCylindricalHole::BRepFeat_MakeCylindricalHole (): 26 myAxDef(Standard_False), 27 myStatus(BRepFeat_NoError), 28 myIsBlind(Standard_False), 29 myValidate(Standard_False) 30{} 31 32//======================================================================= 33//function : Init 34//purpose : 35//======================================================================= 36 37inline 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 49inline void BRepFeat_MakeCylindricalHole::Init(const TopoDS_Shape& S, 50 const gp_Ax1& Axis) 51{ 52 BRepFeat_Builder::Init(S); 53 myAxis = Axis; 54 myAxDef = Standard_True; 55} 56 57//======================================================================= 58//function : Status 59//purpose : 60//======================================================================= 61 62inline BRepFeat_Status BRepFeat_MakeCylindricalHole::Status () const 63{ 64 return myStatus; 65} 66