Open CASCADE Technology 6.6.0
|
Provides a tool to make cylindrical holes on a shape.
#include <BRepFeat_MakeCylindricalHole.hxx>
Public Member Functions | |
BRepFeat_MakeCylindricalHole () | |
Empty constructor. | |
void | Init (const gp_Ax1 &Axis) |
Sets the axis of the hole(s). | |
void | Init (const TopoDS_Shape &S, const gp_Ax1 &Axis) |
Sets the shape and axis on which hole(s) will be performed. | |
void | Perform (const Standard_Real Radius) |
Performs every holes of radius <Radius>. This command has the same effect as a cut operation with an infinite cylinder defined by the given axis and <Radius>. | |
void | Perform (const Standard_Real Radius, const Standard_Real PFrom, const Standard_Real PTo, const Standard_Boolean WithControl=Standard_True) |
Performs evry hole of radius <Radius> located between PFrom and PTo on the given axis. If <WithControl> is set to Standard_False no control are done on the resulting shape after the operation is performed. | |
void | PerformThruNext (const Standard_Real Radius, const Standard_Boolean WithControl=Standard_True) |
Performs the first hole of radius <Radius>, in the direction of the defined axis. First hole signify first encountered after the origin of the axis. If <WithControl> is set to Standard_False no control are done on the resulting shape after the operation is performed. | |
void | PerformUntilEnd (const Standard_Real Radius, const Standard_Boolean WithControl=Standard_True) |
Performs evry holes of radius <Radius> located after the origin of the given axis. If <WithControl> is set to Standard_False no control are done on the resulting shape after the operation is performed. | |
void | PerformBlind (const Standard_Real Radius, const Standard_Real Length, const Standard_Boolean WithControl=Standard_True) |
Performs a blind hole of radius <Radius> and length <Length>. The length is measured from the origin of the given axis. If <WithControl> is set to Standard_False no control are done after the operation is performed. | |
BRepFeat_Status | Status () const |
Returns the status after a hole is performed. | |
void | Build () |
Builds the resulting shape (redefined from MakeShape). Invalidates the given parts of tools if any, and performs the result of the local operation. |
BRepFeat_MakeCylindricalHole::BRepFeat_MakeCylindricalHole | ( | ) |
void BRepFeat_MakeCylindricalHole::Build | ( | ) |
void BRepFeat_MakeCylindricalHole::Init | ( | const gp_Ax1 & | Axis | ) |
void BRepFeat_MakeCylindricalHole::Init | ( | const TopoDS_Shape & | S, |
const gp_Ax1 & | Axis | ||
) |
void BRepFeat_MakeCylindricalHole::Perform | ( | const Standard_Real | Radius, |
const Standard_Real | PFrom, | ||
const Standard_Real | PTo, | ||
const Standard_Boolean | WithControl = Standard_True |
||
) |
void BRepFeat_MakeCylindricalHole::Perform | ( | const Standard_Real | Radius | ) |
void BRepFeat_MakeCylindricalHole::PerformBlind | ( | const Standard_Real | Radius, |
const Standard_Real | Length, | ||
const Standard_Boolean | WithControl = Standard_True |
||
) |
void BRepFeat_MakeCylindricalHole::PerformThruNext | ( | const Standard_Real | Radius, |
const Standard_Boolean | WithControl = Standard_True |
||
) |
void BRepFeat_MakeCylindricalHole::PerformUntilEnd | ( | const Standard_Real | Radius, |
const Standard_Boolean | WithControl = Standard_True |
||
) |
BRepFeat_Status BRepFeat_MakeCylindricalHole::Status | ( | ) | const |