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

ModelingAlgorithms
TKFeat
BRepFeat


BRepFeat_RibSlot Class Reference

Provides functions to build mechanical features.
Mechanical features include ribs - protrusions and grooves (or slots) - depressions along
planar (linear) surfaces or revolution surfaces. 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_RibSlot.hxx>

Inheritance diagram for BRepFeat_RibSlot:

Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
virtual Standard_EXPORT Standard_Boolean IsDeleted (const TopoDS_Shape &F)
 Returns true if F a TopoDS_Shape of type edge or face has been deleted.
.
virtual Standard_EXPORT const
TopTools_ListOfShape & 
Modified (const TopoDS_Shape &F)
 Returns the list of generated Faces F. This list may be empty.
.
virtual Standard_EXPORT const
TopTools_ListOfShape & 
Generated (const TopoDS_Shape &S)
 Returns a list TopTools_ListOfShape of the faces S created in the shape.
.
Standard_EXPORT const TopTools_ListOfShape & FirstShape () const
 Returns the list of shapes created at the bottom of
the created form. It may be an empty list.
.
Standard_EXPORT const TopTools_ListOfShape & LastShape () const
 Returns the list of shapes created at the top of the
created form. It may be an empty list.
.
Standard_EXPORT const TopTools_ListOfShape & FacesForDraft () const
 Returns a list of the limiting and glueing faces
generated by the feature. These faces did not originally exist in the basis shape.
The list provides the information necessary for
subsequent addition of a draft to a face. It may be an empty list.
If a face has tangent edges, no draft is possible, and the tangent edges must
subsequently be removed if you want to add a draft to the face.
.
Standard_EXPORT const TopTools_ListOfShape & NewEdges () const
 Returns a list of the limiting and glueing edges
generated by the feature. These edges did not originally exist in the basis shape.
The list provides the information necessary for
subsequent addition of fillets. It may be an empty list.
.
Standard_EXPORT const TopTools_ListOfShape & TgtEdges () const
 Returns a list of the tangent edges among the
limiting and glueing edges generated by the
feature. These edges did not originally exist in
the basis shape and are tangent to the face
against which the feature is built.
The list provides the information necessary for
subsequent addition of fillets. It may be an empty list.
If an edge is tangent, no fillet is possible, and
the edge must subsequently be removed if you want to add a fillet.
.
Standard_EXPORT BRepFeat_StatusError CurrentStatusError () const

Static Public Member Functions

static Standard_EXPORT Standard_Real IntPar (const Handle(Geom_Curve)&C, const gp_Pnt &P)
static Standard_EXPORT TopoDS_Face ChoiceOfFaces (TopTools_ListOfShape &faces, const Handle(Geom_Curve)&cc, const Standard_Real par, const Standard_Real bnd, const Handle(Geom_Plane)&Pln)

Protected Member Functions

 BRepFeat_RibSlot ()
 Redefines the empty constructor.
.
Standard_EXPORT void LFPerform ()
 General perform method...
.
Standard_EXPORT gp_Pnt CheckPoint (const TopoDS_Edge &e, const Standard_Real bnd, const Handle(Geom_Plane)&Pln)
Standard_EXPORT gp_Dir Normal (const TopoDS_Face &F, const gp_Pnt &P)
Standard_EXPORT void EdgeExtention (TopoDS_Edge &e, const Standard_Real bnd, const Standard_Boolean FirstLast)
Standard_EXPORT Standard_Real HeightMax (const TopoDS_Shape &theSbase, const TopoDS_Shape &theSUntil, gp_Pnt &p1, gp_Pnt &p2)
Standard_EXPORT Standard_Boolean ExtremeFaces (const Standard_Boolean RevolRib, const Standard_Real bnd, const Handle(Geom_Plane)&Pln, TopoDS_Edge &FirstEdge, TopoDS_Edge &LastEdge, TopoDS_Face &FirstFace, TopoDS_Face &LastFace, TopoDS_Vertex &FirstVertex, TopoDS_Vertex &LastVertex, Standard_Boolean &OnFirstFace, Standard_Boolean &OnLastFace, Standard_Boolean &PtOnFirstEdge, Standard_Boolean &PtOnLastEdge, TopoDS_Edge &OnFirstEdge, TopoDS_Edge &OnLastEdge)
Standard_EXPORT void PtOnEdgeVertex (const Standard_Boolean RevolRib, const TopoDS_Shape &shape, const gp_Pnt &point, const TopoDS_Vertex &FirstVertex, const TopoDS_Vertex &LastVertex, Standard_Boolean &PtOnEdge, TopoDS_Edge &OnEdge, Standard_Boolean &PtOnVertex, TopoDS_Vertex &OnVertex)
Standard_EXPORT Standard_Boolean SlidingProfile (TopoDS_Face &Prof, const Standard_Boolean RevolRib, const Standard_Real myTol, Standard_Integer &Concavite, const Handle(Geom_Plane)&myPln, const TopoDS_Face &BndFace, const gp_Pnt &CheckPnt, const TopoDS_Face &FirstFace, const TopoDS_Face &LastFace, const TopoDS_Vertex &FirstVertex, const TopoDS_Vertex &LastVertex, const TopoDS_Edge &FirstEdge, const TopoDS_Edge &LastEdge)
Standard_EXPORT Standard_Boolean NoSlidingProfile (TopoDS_Face &Prof, const Standard_Boolean RevolRib, const Standard_Real myTol, Standard_Integer &Concavite, const Handle(Geom_Plane)&myPln, const Standard_Real bnd, const TopoDS_Face &BndFace, const gp_Pnt &CheckPnt, const TopoDS_Face &FirstFace, const TopoDS_Face &LastFace, const TopoDS_Vertex &FirstVertex, const TopoDS_Vertex &LastVertex, const TopoDS_Edge &FirstEdge, const TopoDS_Edge &LastEdge, const Standard_Boolean OnFirstFace, const Standard_Boolean OnLastFace)
Standard_EXPORT void UpdateDescendants (const LocOpe_Gluer &G)
 Updates the data structures of descendant
shapes during the glueing operation.Returns the modified, generated
and deleted faces during the course of the glueing operation.
.
Standard_EXPORT void UpdateDescendants (const Handle(TopOpeBRepBuild_HBuilder)&B, const TopoDS_Shape &SResult, const Standard_Boolean SkipFace=Standard_False)
Standard_EXPORT void UpdateDescendants (const BRepAlgoAPI_BooleanOperation &aBOP, const TopoDS_Shape &SResult, const Standard_Boolean SkipFace=Standard_False)
Standard_EXPORT void UpdateDescendants (const Handle(BOP_HistoryCollector)&aBOP, const TopoDS_Shape &SResult, const Standard_Boolean SkipFace=Standard_False)
 Updates the data structures of descendant
shapes during the glueing operation.
Returns the modified, generated and deleted faces during the course of the
glueing operation; furnishes the arguments of the resulting shape SResult using the
builder B to determine the type of modification such as orientation and splitting;
checks to see that the SResult belongs to the data structure of the original shape.
.

Protected Attributes

gp_Pnt myFirstPnt
gp_Pnt myLastPnt
Standard_Boolean myFuse
Standard_Boolean mySliding
TopTools_DataMapOfShapeListOfShape myMap
TopTools_DataMapOfShapeListOfShape myLFMap
TopoDS_Shape myFShape
TopoDS_Shape myLShape
BRepFeat_PerfSelection myPerfSelection
TopoDS_Wire myWire
TopoDS_Shape mySbase
TopoDS_Face mySkface
TopoDS_Face myPbase
TopoDS_Shape myGShape
TopoDS_Shape mySUntil
TopTools_DataMapOfShapeShape myGluedF
TopTools_ListOfShape myNewEdges
TopTools_ListOfShape myTgtEdges
TopTools_ListOfShape myFacesForDraft
BRepFeat_StatusError myStatusError

Constructor & Destructor Documentation

BRepFeat_RibSlot::BRepFeat_RibSlot  )  [inline, protected]
 


Member Function Documentation

Standard_EXPORT gp_Pnt BRepFeat_RibSlot::CheckPoint const TopoDS_Edge &  e,
const Standard_Real  bnd,
const Handle(Geom_Plane)&  Pln
[protected]
 

static Standard_EXPORT TopoDS_Face BRepFeat_RibSlot::ChoiceOfFaces TopTools_ListOfShape &  faces,
const Handle(Geom_Curve)&  cc,
const Standard_Real  par,
const Standard_Real  bnd,
const Handle(Geom_Plane)&  Pln
[static]
 

Standard_EXPORT BRepFeat_StatusError BRepFeat_RibSlot::CurrentStatusError  )  const
 

Standard_EXPORT void BRepFeat_RibSlot::EdgeExtention TopoDS_Edge &  e,
const Standard_Real  bnd,
const Standard_Boolean  FirstLast
[protected]
 

Standard_EXPORT Standard_Boolean BRepFeat_RibSlot::ExtremeFaces const Standard_Boolean  RevolRib,
const Standard_Real  bnd,
const Handle(Geom_Plane)&  Pln,
TopoDS_Edge &  FirstEdge,
TopoDS_Edge &  LastEdge,
TopoDS_Face &  FirstFace,
TopoDS_Face &  LastFace,
TopoDS_Vertex &  FirstVertex,
TopoDS_Vertex &  LastVertex,
Standard_Boolean OnFirstFace,
Standard_Boolean OnLastFace,
Standard_Boolean PtOnFirstEdge,
Standard_Boolean PtOnLastEdge,
TopoDS_Edge &  OnFirstEdge,
TopoDS_Edge &  OnLastEdge
[protected]
 

Standard_EXPORT const TopTools_ListOfShape& BRepFeat_RibSlot::FacesForDraft  )  const
 

Standard_EXPORT const TopTools_ListOfShape& BRepFeat_RibSlot::FirstShape  )  const
 

virtual Standard_EXPORT const TopTools_ListOfShape& BRepFeat_RibSlot::Generated const TopoDS_Shape &  S  )  [virtual]
 

Reimplemented from BRepBuilderAPI_MakeShape.

Standard_EXPORT Standard_Real BRepFeat_RibSlot::HeightMax const TopoDS_Shape &  theSbase,
const TopoDS_Shape &  theSUntil,
gp_Pnt &  p1,
gp_Pnt &  p2
[protected]
 

static Standard_EXPORT Standard_Real BRepFeat_RibSlot::IntPar const Handle(Geom_Curve)&  C,
const gp_Pnt &  P
[static]
 

virtual Standard_EXPORT Standard_Boolean BRepFeat_RibSlot::IsDeleted const TopoDS_Shape &  F  )  [virtual]
 

Reimplemented from BRepBuilderAPI_MakeShape.

Standard_EXPORT const TopTools_ListOfShape& BRepFeat_RibSlot::LastShape  )  const
 

Standard_EXPORT void BRepFeat_RibSlot::LFPerform  )  [protected]
 

virtual Standard_EXPORT const TopTools_ListOfShape& BRepFeat_RibSlot::Modified const TopoDS_Shape &  F  )  [virtual]
 

Reimplemented from BRepBuilderAPI_MakeShape.

Standard_EXPORT const TopTools_ListOfShape& BRepFeat_RibSlot::NewEdges  )  const
 

Standard_EXPORT gp_Dir BRepFeat_RibSlot::Normal const TopoDS_Face &  F,
const gp_Pnt &  P
[protected]
 

Standard_EXPORT Standard_Boolean BRepFeat_RibSlot::NoSlidingProfile TopoDS_Face &  Prof,
const Standard_Boolean  RevolRib,
const Standard_Real  myTol,
Standard_Integer &  Concavite,
const Handle(Geom_Plane)&  myPln,
const Standard_Real  bnd,
const TopoDS_Face &  BndFace,
const gp_Pnt &  CheckPnt,
const TopoDS_Face &  FirstFace,
const TopoDS_Face &  LastFace,
const TopoDS_Vertex &  FirstVertex,
const TopoDS_Vertex &  LastVertex,
const TopoDS_Edge &  FirstEdge,
const TopoDS_Edge &  LastEdge,
const Standard_Boolean  OnFirstFace,
const Standard_Boolean  OnLastFace
[protected]
 

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

Reimplemented from BRepBuilderAPI_MakeShape.

Reimplemented in BRepFeat_MakeLinearForm, and BRepFeat_MakeRevolutionForm.

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

Reimplemented from BRepBuilderAPI_MakeShape.

Reimplemented in BRepFeat_MakeLinearForm, and BRepFeat_MakeRevolutionForm.

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

Reimplemented from BRepBuilderAPI_MakeShape.

Reimplemented in BRepFeat_MakeLinearForm, and BRepFeat_MakeRevolutionForm.

Standard_EXPORT void BRepFeat_RibSlot::PtOnEdgeVertex const Standard_Boolean  RevolRib,
const TopoDS_Shape &  shape,
const gp_Pnt &  point,
const TopoDS_Vertex &  FirstVertex,
const TopoDS_Vertex &  LastVertex,
Standard_Boolean PtOnEdge,
TopoDS_Edge &  OnEdge,
Standard_Boolean PtOnVertex,
TopoDS_Vertex &  OnVertex
[protected]
 

Standard_EXPORT Standard_Boolean BRepFeat_RibSlot::SlidingProfile TopoDS_Face &  Prof,
const Standard_Boolean  RevolRib,
const Standard_Real  myTol,
Standard_Integer &  Concavite,
const Handle(Geom_Plane)&  myPln,
const TopoDS_Face &  BndFace,
const gp_Pnt &  CheckPnt,
const TopoDS_Face &  FirstFace,
const TopoDS_Face &  LastFace,
const TopoDS_Vertex &  FirstVertex,
const TopoDS_Vertex &  LastVertex,
const TopoDS_Edge &  FirstEdge,
const TopoDS_Edge &  LastEdge
[protected]
 

Standard_EXPORT const TopTools_ListOfShape& BRepFeat_RibSlot::TgtEdges  )  const
 

Standard_EXPORT void BRepFeat_RibSlot::UpdateDescendants const Handle(BOP_HistoryCollector)&  aBOP,
const TopoDS_Shape &  SResult,
const Standard_Boolean  SkipFace = Standard_False
[protected]
 

Standard_EXPORT void BRepFeat_RibSlot::UpdateDescendants const BRepAlgoAPI_BooleanOperation aBOP,
const TopoDS_Shape &  SResult,
const Standard_Boolean  SkipFace = Standard_False
[protected]
 

Standard_EXPORT void BRepFeat_RibSlot::UpdateDescendants const Handle(TopOpeBRepBuild_HBuilder)&  B,
const TopoDS_Shape &  SResult,
const Standard_Boolean  SkipFace = Standard_False
[protected]
 

Standard_EXPORT void BRepFeat_RibSlot::UpdateDescendants const LocOpe_Gluer G  )  [protected]
 


Field Documentation

TopTools_ListOfShape BRepFeat_RibSlot::myFacesForDraft [protected]
 

gp_Pnt BRepFeat_RibSlot::myFirstPnt [protected]
 

TopoDS_Shape BRepFeat_RibSlot::myFShape [protected]
 

Standard_Boolean BRepFeat_RibSlot::myFuse [protected]
 

TopTools_DataMapOfShapeShape BRepFeat_RibSlot::myGluedF [protected]
 

TopoDS_Shape BRepFeat_RibSlot::myGShape [protected]
 

gp_Pnt BRepFeat_RibSlot::myLastPnt [protected]
 

TopTools_DataMapOfShapeListOfShape BRepFeat_RibSlot::myLFMap [protected]
 

TopoDS_Shape BRepFeat_RibSlot::myLShape [protected]
 

TopTools_DataMapOfShapeListOfShape BRepFeat_RibSlot::myMap [protected]
 

TopTools_ListOfShape BRepFeat_RibSlot::myNewEdges [protected]
 

TopoDS_Face BRepFeat_RibSlot::myPbase [protected]
 

BRepFeat_PerfSelection BRepFeat_RibSlot::myPerfSelection [protected]
 

TopoDS_Shape BRepFeat_RibSlot::mySbase [protected]
 

TopoDS_Face BRepFeat_RibSlot::mySkface [protected]
 

Standard_Boolean BRepFeat_RibSlot::mySliding [protected]
 

Reimplemented in BRepFeat_MakeRevolutionForm.

BRepFeat_StatusError BRepFeat_RibSlot::myStatusError [protected]
 

TopoDS_Shape BRepFeat_RibSlot::mySUntil [protected]
 

TopTools_ListOfShape BRepFeat_RibSlot::myTgtEdges [protected]
 

TopoDS_Wire BRepFeat_RibSlot::myWire [protected]
 


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