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

ModelingAlgorithms
TKFeat
BRepFeat


BRepFeat_MakeLinearForm Class Reference

Builds a rib or a groove along a developable, planar surface.
The semantics of mechanical features is built around
giving thickness to a contour. This thickness can either
be symmetrical - on one side of the contour - or
dissymmetrical - 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_MakeLinearForm.hxx>

Inheritance diagram for BRepFeat_MakeLinearForm:

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

 BRepFeat_MakeLinearForm (const TopoDS_Shape &Sbase, const TopoDS_Wire &W, const Handle(Geom_Plane)&P, const gp_Vec &Direction, const gp_Vec &Direction1, const Standard_Integer Fuse, const Standard_Boolean Modify)
 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.
Direction and Direction1 give The vectors for
defining the direction(s) in which thickness will be built up.
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)&P, const gp_Vec &Direction, const gp_Vec &Direction1, const Standard_Integer Fuse, const Standard_Boolean Modify)
 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 vectors for
defining the direction(s) in which thickness will be built
up are given by Direction and Direction1.
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 Sbase. Reconstructs the feature topologically.
.
Standard_EXPORT void TransformShapeFU (const Standard_Integer flag)
 Limits construction of the linear form feature by using
one of the following three semantics:
- from a limiting plane
- to a limiting plane
- from one limiting plane to another.
The setting is provided by a flag, flag, which can be set
to from and/or until. The third semantic possibility above
is selected by showing both from and until at the same time.
.
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

Handle_Geom_Curve myCrv
gp_Vec myDir
gp_Vec myDir1
Handle_Geom_Plane myPln
Standard_Real myBnd
TopTools_DataMapOfShapeListOfShape mySlface
TopTools_ListOfShape myListOfEdges
Standard_Real myTol

Constructor & Destructor Documentation

BRepFeat_MakeLinearForm::BRepFeat_MakeLinearForm  )  [inline]
 

BRepFeat_MakeLinearForm::BRepFeat_MakeLinearForm const TopoDS_Shape &  Sbase,
const TopoDS_Wire &  W,
const Handle(Geom_Plane)&  P,
const gp_Vec &  Direction,
const gp_Vec &  Direction1,
const Standard_Integer  Fuse,
const Standard_Boolean  Modify
[inline]
 


Member Function Documentation

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

Standard_EXPORT void BRepFeat_MakeLinearForm::Init const TopoDS_Shape &  Sbase,
const TopoDS_Wire &  W,
const Handle(Geom_Plane)&  P,
const gp_Vec &  Direction,
const gp_Vec &  Direction1,
const Standard_Integer  Fuse,
const Standard_Boolean  Modify
 

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

Reimplemented from BRepFeat_RibSlot.

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

Reimplemented from BRepFeat_RibSlot.

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

Reimplemented from BRepFeat_RibSlot.

Standard_EXPORT void BRepFeat_MakeLinearForm::Perform  ) 
 

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

Standard_EXPORT void BRepFeat_MakeLinearForm::TransformShapeFU const Standard_Integer  flag  ) 
 


Field Documentation

Standard_Real BRepFeat_MakeLinearForm::myBnd [private]
 

Handle_Geom_Curve BRepFeat_MakeLinearForm::myCrv [private]
 

gp_Vec BRepFeat_MakeLinearForm::myDir [private]
 

gp_Vec BRepFeat_MakeLinearForm::myDir1 [private]
 

TopTools_ListOfShape BRepFeat_MakeLinearForm::myListOfEdges [private]
 

Handle_Geom_Plane BRepFeat_MakeLinearForm::myPln [private]
 

TopTools_DataMapOfShapeListOfShape BRepFeat_MakeLinearForm::mySlface [private]
 

Standard_Real BRepFeat_MakeLinearForm::myTol [private]
 


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