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

ModelingAlgorithms
TKFeat
BRepFeat


BRepFeat_MakeRevol Class Reference

Describes functions to build revolved shells from basis shapes.
.

#include <BRepFeat_MakeRevol.hxx>

Inheritance diagram for BRepFeat_MakeRevol:

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_MakeRevol ()
 initializes the revolved shell class.

 BRepFeat_MakeRevol (const TopoDS_Shape &Sbase, const TopoDS_Shape &Pbase, const TopoDS_Face &Skface, const gp_Ax1 &Axis, const Standard_Integer Fuse, const Standard_Boolean Modify)
 a face Pbase is selected in the
shape Sbase to serve as the basis for the
revolved shell. The revolution will be defined
by the axis Axis and Fuse offers a choice between:
- removing matter with a Boolean cut using the setting 0
- adding matter with Boolean fusion using the setting 1.
The sketch face Skface serves to determine
the type of operation. If it is inside the basis
shape, a local operation such as glueing can be performed.

Standard_EXPORT void Init (const TopoDS_Shape &Sbase, const TopoDS_Shape &Pbase, const TopoDS_Face &Skface, const gp_Ax1 &Axis, const Standard_Integer Fuse, const Standard_Boolean Modify)
Standard_EXPORT void Add (const TopoDS_Edge &E, const TopoDS_Face &OnFace)
 Indicates that the edge <e> will slide on the face
<onface>. Raises ConstructionError if the face does not belong to the
basis shape, or the edge to the prismed shape.
.
Standard_EXPORT void Perform (const Standard_Real Angle)
Standard_EXPORT void Perform (const TopoDS_Shape &Until)
Standard_EXPORT void Perform (const TopoDS_Shape &From, const TopoDS_Shape &Until)
 Reconstructs the feature topologically.
.
Standard_EXPORT void PerformThruAll ()
 Builds an infinite shell. The infinite descendants
will not be kept in the result.
.
Standard_EXPORT void PerformUntilAngle (const TopoDS_Shape &Until, const Standard_Real Angle)
 Assigns both a limiting shape, Until from
TopoDS_Shape, and an angle, Angle at
which to stop generation of the revolved shell feature.
.
Standard_EXPORT void Curves (TColGeom_SequenceOfCurve &S)
Standard_EXPORT Handle_Geom_Curve BarycCurve ()

Private Attributes

TopoDS_Shape myPbase
TopTools_DataMapOfShapeListOfShape mySlface
gp_Ax1 myAxis
TColGeom_SequenceOfCurve myCurves
Handle_Geom_Curve myBCurve
BRepFeat_StatusError myStatusError

Constructor & Destructor Documentation

BRepFeat_MakeRevol::BRepFeat_MakeRevol  )  [inline]
 

BRepFeat_MakeRevol::BRepFeat_MakeRevol const TopoDS_Shape &  Sbase,
const TopoDS_Shape &  Pbase,
const TopoDS_Face &  Skface,
const gp_Ax1 &  Axis,
const Standard_Integer  Fuse,
const Standard_Boolean  Modify
[inline]
 


Member Function Documentation

Standard_EXPORT void BRepFeat_MakeRevol::Add const TopoDS_Edge &  E,
const TopoDS_Face &  OnFace
 

Standard_EXPORT Handle_Geom_Curve BRepFeat_MakeRevol::BarycCurve  )  [virtual]
 

Implements BRepFeat_Form.

Standard_EXPORT void BRepFeat_MakeRevol::Curves TColGeom_SequenceOfCurve &  S  )  [virtual]
 

Implements BRepFeat_Form.

Standard_EXPORT void BRepFeat_MakeRevol::Init const TopoDS_Shape &  Sbase,
const TopoDS_Shape &  Pbase,
const TopoDS_Face &  Skface,
const gp_Ax1 &  Axis,
const Standard_Integer  Fuse,
const Standard_Boolean  Modify
 

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

Reimplemented from BRepFeat_Form.

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

Reimplemented from BRepFeat_Form.

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

Reimplemented from BRepFeat_Form.

Standard_EXPORT void BRepFeat_MakeRevol::Perform const TopoDS_Shape &  From,
const TopoDS_Shape &  Until
 

Standard_EXPORT void BRepFeat_MakeRevol::Perform const TopoDS_Shape &  Until  ) 
 

Standard_EXPORT void BRepFeat_MakeRevol::Perform const Standard_Real  Angle  ) 
 

Standard_EXPORT void BRepFeat_MakeRevol::PerformThruAll  ) 
 

Standard_EXPORT void BRepFeat_MakeRevol::PerformUntilAngle const TopoDS_Shape &  Until,
const Standard_Real  Angle
 


Field Documentation

gp_Ax1 BRepFeat_MakeRevol::myAxis [private]
 

Handle_Geom_Curve BRepFeat_MakeRevol::myBCurve [private]
 

TColGeom_SequenceOfCurve BRepFeat_MakeRevol::myCurves [private]
 

TopoDS_Shape BRepFeat_MakeRevol::myPbase [private]
 

TopTools_DataMapOfShapeListOfShape BRepFeat_MakeRevol::mySlface [private]
 

BRepFeat_StatusError BRepFeat_MakeRevol::myStatusError [private]
 

Reimplemented from BRepFeat_Form.


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