OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKFeat
BRepFeat


BRepFeat_MakeCylindricalHole Class Reference

Provides a tool to make cylindrical holes on a shape.
.

#include <BRepFeat_MakeCylindricalHole.hxx>

Inheritance diagram for BRepFeat_MakeCylindricalHole:

Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
 BRepFeat_MakeCylindricalHole ()
 Empty constructor.
.
 BRepFeat_MakeCylindricalHole (const TopoDS_Shape &S)
 Creates the tool to perform hole(s) on the shape <s>.
.
 BRepFeat_MakeCylindricalHole (const TopoDS_Shape &S, const gp_Ax1 &Axis)
 Creates the tool to perform hole(s) on the shape <s>,
with the axis <axis>.
.
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.
.
Standard_EXPORT 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>.
.
Standard_EXPORT 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.
.
Standard_EXPORT 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.
.
Standard_EXPORT 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.
.
Standard_EXPORT 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.
.
virtual Standard_EXPORT 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.
.

Private Member Functions

Standard_EXPORT BRepFeat_Status Validate ()

Private Attributes

gp_Ax1 myAxis
Standard_Boolean myAxDef
BRepFeat_Status myStatus
Standard_Boolean myIsBlind
Standard_Boolean myValidate
TopoDS_Face myTopFace
TopoDS_Face myBotFace

Constructor & Destructor Documentation

BRepFeat_MakeCylindricalHole::BRepFeat_MakeCylindricalHole  )  [inline]
 

BRepFeat_MakeCylindricalHole::BRepFeat_MakeCylindricalHole const TopoDS_Shape &  S  )  [inline]
 

BRepFeat_MakeCylindricalHole::BRepFeat_MakeCylindricalHole const TopoDS_Shape &  S,
const gp_Ax1 &  Axis
[inline]
 


Member Function Documentation

virtual Standard_EXPORT void BRepFeat_MakeCylindricalHole::Build  )  [virtual]
 

Reimplemented from BRepBuilderAPI_MakeShape.

void BRepFeat_MakeCylindricalHole::Init const TopoDS_Shape &  S,
const gp_Ax1 &  Axis
[inline]
 

void BRepFeat_MakeCylindricalHole::Init const gp_Ax1 &  Axis  )  [inline]
 

void BRepFeat_MakeCylindricalHole::operator delete void *  anAddress  )  [inline]
 

Reimplemented from BRepFeat_Builder.

void* BRepFeat_MakeCylindricalHole::operator new size_t  size  )  [inline]
 

Reimplemented from BRepFeat_Builder.

void* BRepFeat_MakeCylindricalHole::operator new size_t  ,
void *  anAddress
[inline]
 

Reimplemented from BRepFeat_Builder.

Standard_EXPORT void BRepFeat_MakeCylindricalHole::Perform const Standard_Real  Radius,
const Standard_Real  PFrom,
const Standard_Real  PTo,
const Standard_Boolean  WithControl = Standard_True
 

Standard_EXPORT void BRepFeat_MakeCylindricalHole::Perform const Standard_Real  Radius  ) 
 

Standard_EXPORT void BRepFeat_MakeCylindricalHole::PerformBlind const Standard_Real  Radius,
const Standard_Real  Length,
const Standard_Boolean  WithControl = Standard_True
 

Standard_EXPORT void BRepFeat_MakeCylindricalHole::PerformThruNext const Standard_Real  Radius,
const Standard_Boolean  WithControl = Standard_True
 

Standard_EXPORT void BRepFeat_MakeCylindricalHole::PerformUntilEnd const Standard_Real  Radius,
const Standard_Boolean  WithControl = Standard_True
 

BRepFeat_Status BRepFeat_MakeCylindricalHole::Status  )  const [inline]
 

Standard_EXPORT BRepFeat_Status BRepFeat_MakeCylindricalHole::Validate  )  [private]
 


Field Documentation

Standard_Boolean BRepFeat_MakeCylindricalHole::myAxDef [private]
 

gp_Ax1 BRepFeat_MakeCylindricalHole::myAxis [private]
 

TopoDS_Face BRepFeat_MakeCylindricalHole::myBotFace [private]
 

Standard_Boolean BRepFeat_MakeCylindricalHole::myIsBlind [private]
 

BRepFeat_Status BRepFeat_MakeCylindricalHole::myStatus [private]
 

TopoDS_Face BRepFeat_MakeCylindricalHole::myTopFace [private]
 

Standard_Boolean BRepFeat_MakeCylindricalHole::myValidate [private]
 


The documentation for this class was generated from the following files:
Generated on Mon Aug 25 13:41:12 2008 for OpenCASCADE by  doxygen 1.4.1