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

ModelingAlgorithms
TKFeat
BRepFeat


BRepFeat_MakeRevolutionForm Class Reference

MakeRevolutionForm Generates a surface of
revolution in the feature as it slides along a
revolved face in the basis shape.
The semantics of mechanical features is built
around giving thickness to a contour. This
thickness can either be unilateral - on one side
of the contour - or bilateral - on both sides. As
in the semantics of form features, the thickness
is defined by construction of shapes in specific contexts.
The development contexts differ, however,in
case of mechanical features. Here they include extrusion:
- to a limiting face of the basis shape
- to or from a limiting plane
- to a height.
.

#include <BRepFeat_MakeRevolutionForm.hxx>

Inheritance diagram for BRepFeat_MakeRevolutionForm:

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_MakeRevolutionForm ()
 initializes the linear form class.

 BRepFeat_MakeRevolutionForm (const TopoDS_Shape &Sbase, const TopoDS_Wire &W, const Handle(Geom_Plane)&Plane, const gp_Ax1 &Axis, const Standard_Real Height1, const Standard_Real Height2, const Standard_Integer Fuse, Standard_Boolean &Sliding)
 a contour W, a shape Sbase and a plane P are initialized to serve as
the basic elements in the construction of the rib or groove. The axis Axis of the
revolved surface in the basis shape defines the feature's axis of revolution.
Height1 and Height2 may be used as limits to the construction of the feature.
Fuse offers a choice between:
- removing matter with a Boolean cut using the setting 0 in case of the groove
- adding matter with Boolean fusion using the setting 1 in case of the rib.

Standard_EXPORT void Init (const TopoDS_Shape &Sbase, const TopoDS_Wire &W, const Handle(Geom_Plane)&Plane, const gp_Ax1 &Axis, const Standard_Real Height1, const Standard_Real Height2, const Standard_Integer Fuse, Standard_Boolean &Sliding)
 Initializes this construction algorithm
A contour W, a shape Sbase and a plane P are initialized to serve as the basic elements
in the construction of the rib or groove. The axis Axis of the revolved surface in the basis
shape defines the feature's axis of revolution. Height1 and Height2 may be
used as limits to the construction of the feature.
Fuse offers a choice between:
- removing matter with a Boolean cut using the setting 0 in case of the groove
- adding matter with Boolean fusion using the setting 1 in case of the rib.
.
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 ()
 Performs a prism from the wire to the plane
along the basis shape S. Reconstructs the feature topologically.
.
Standard_EXPORT Standard_Boolean Propagate (TopTools_ListOfShape &L, const TopoDS_Face &F, const gp_Pnt &FPoint, const gp_Pnt &LPoint, Standard_Boolean &falseside)

Private Attributes

gp_Ax1 myAxe
Standard_Real myHeight1
Standard_Real myHeight2
Standard_Boolean mySliding
Handle_Geom_Plane myPln
Standard_Real myBnd
TopTools_DataMapOfShapeListOfShape mySlface
TopTools_ListOfShape myListOfEdges
Standard_Real myTol
Standard_Real myAngle1
Standard_Real myAngle2

Constructor & Destructor Documentation

BRepFeat_MakeRevolutionForm::BRepFeat_MakeRevolutionForm  )  [inline]
 

BRepFeat_MakeRevolutionForm::BRepFeat_MakeRevolutionForm const TopoDS_Shape &  Sbase,
const TopoDS_Wire &  W,
const Handle(Geom_Plane)&  Plane,
const gp_Ax1 &  Axis,
const Standard_Real  Height1,
const Standard_Real  Height2,
const Standard_Integer  Fuse,
Standard_Boolean Sliding
[inline]
 


Member Function Documentation

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

Standard_EXPORT void BRepFeat_MakeRevolutionForm::Init const TopoDS_Shape &  Sbase,
const TopoDS_Wire &  W,
const Handle(Geom_Plane)&  Plane,
const gp_Ax1 &  Axis,
const Standard_Real  Height1,
const Standard_Real  Height2,
const Standard_Integer  Fuse,
Standard_Boolean Sliding
 

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

Reimplemented from BRepFeat_RibSlot.

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

Reimplemented from BRepFeat_RibSlot.

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

Reimplemented from BRepFeat_RibSlot.

Standard_EXPORT void BRepFeat_MakeRevolutionForm::Perform  ) 
 

Standard_EXPORT Standard_Boolean BRepFeat_MakeRevolutionForm::Propagate TopTools_ListOfShape &  L,
const TopoDS_Face &  F,
const gp_Pnt &  FPoint,
const gp_Pnt &  LPoint,
Standard_Boolean falseside
 


Field Documentation

Standard_Real BRepFeat_MakeRevolutionForm::myAngle1 [private]
 

Standard_Real BRepFeat_MakeRevolutionForm::myAngle2 [private]
 

gp_Ax1 BRepFeat_MakeRevolutionForm::myAxe [private]
 

Standard_Real BRepFeat_MakeRevolutionForm::myBnd [private]
 

Standard_Real BRepFeat_MakeRevolutionForm::myHeight1 [private]
 

Standard_Real BRepFeat_MakeRevolutionForm::myHeight2 [private]
 

TopTools_ListOfShape BRepFeat_MakeRevolutionForm::myListOfEdges [private]
 

Handle_Geom_Plane BRepFeat_MakeRevolutionForm::myPln [private]
 

TopTools_DataMapOfShapeListOfShape BRepFeat_MakeRevolutionForm::mySlface [private]
 

Standard_Boolean BRepFeat_MakeRevolutionForm::mySliding [private]
 

Reimplemented from BRepFeat_RibSlot.

Standard_Real BRepFeat_MakeRevolutionForm::myTol [private]
 


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