Version: 6.3.1
Public Member Functions | Protected Member Functions | Protected Attributes

GEOMAlgo_BuilderFace Class Reference

The algorithm to build faces from set of edges

#include <GEOMAlgo_BuilderFace.hxx>

Inheritance diagram for GEOMAlgo_BuilderFace:
Inheritance graph

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT GEOMAlgo_BuilderFace ()
 Empty constructor

virtual Standard_EXPORT ~GEOMAlgo_BuilderFace ()
Standard_EXPORT void SetFace (const TopoDS_Face &theFace)
 Sets the face generatix

Standard_EXPORT const TopoDS_Face & Face () const
 Returns the face generatix

virtual Standard_EXPORT void Perform ()
 Performs the algorithm

Standard_EXPORT void SetContext (const IntTools_Context &theContext)
 Sets cashed geometrical tools

Standard_EXPORT void SetShapes (const TopTools_ListOfShape &theLS)
 Sets edges/faces to process

Standard_EXPORT const
TopTools_ListOfShape & 
Shapes () const
 Returns edges/faces to process

Standard_EXPORT const
TopTools_ListOfShape & 
Loops () const
 Returns wires/shells that have been built

Standard_EXPORT const
TopTools_ListOfShape & 
Areas () const
 Returns faces/solids that have been built

Standard_EXPORT Standard_Integer ErrorStatus () const
Standard_EXPORT Standard_Integer WarningStatus () const
Standard_EXPORT void ComputeInternalShapes (const Standard_Boolean theFlag)

Protected Member Functions

virtual Standard_EXPORT void PerformShapesToAvoid ()
 Collect the edges that
a) are internal
b) are the same and have different orientation

virtual Standard_EXPORT void PerformLoops ()
 Build draft wires
a)myLoops - draft wires that consist of
boundary edges
b)myLoopsInternal - draft wires that contains
inner edges

virtual Standard_EXPORT void PerformAreas ()
 Build draft faces that contains boundary edges

virtual Standard_EXPORT void PerformInternalShapes ()
 Build finalized faces with internals

virtual Standard_EXPORT void CheckData ()
virtual Standard_EXPORT void CheckResult ()

Protected Attributes

TopoDS_Face myFace
TopTools_ListOfShape myShapes
TopTools_ListOfShape myLoops
TopTools_ListOfShape myLoopsInternal
TopTools_MapOfOrientedShape myShapesToAvoid
TopTools_ListOfShape myAreas
IntTools_PContext myContext
Standard_Integer myErrorStatus
Standard_Integer myWarningStatus
Standard_Boolean myComputeInternalShapes

Constructor & Destructor Documentation

GEOMAlgo_BuilderFace::GEOMAlgo_BuilderFace ( )
GEOMAlgo_BuilderFace::~GEOMAlgo_BuilderFace ( ) [virtual]

Member Function Documentation

void* GEOMAlgo_BuilderFace.operator new ( size_t  ,
void *  anAddress 
)

Reimplemented from GEOMAlgo_BuilderArea.

void* GEOMAlgo_BuilderFace.operator new ( size_t  size)

Reimplemented from GEOMAlgo_BuilderArea.

void GEOMAlgo_BuilderFace.operator delete ( void *  anAddress)

Reimplemented from GEOMAlgo_BuilderArea.

void GEOMAlgo_BuilderFace::SetFace ( const TopoDS_Face &  theFace)

References myFace.

const TopoDS_Face & GEOMAlgo_BuilderFace::Face ( ) const

References myFace.

void GEOMAlgo_BuilderFace::Perform ( ) [virtual]
void GEOMAlgo_BuilderFace::PerformShapesToAvoid ( ) [protected, virtual]
void GEOMAlgo_BuilderFace::PerformLoops ( ) [protected, virtual]
void GEOMAlgo_BuilderFace::PerformAreas ( ) [protected, virtual]
void GEOMAlgo_BuilderFace::PerformInternalShapes ( ) [protected, virtual]
void GEOMAlgo_BuilderArea::SetContext ( const IntTools_Context &  theContext) [inherited]
void GEOMAlgo_BuilderArea::SetShapes ( const TopTools_ListOfShape &  theLS) [inherited]
const TopTools_ListOfShape & GEOMAlgo_BuilderArea::Shapes ( ) const [inherited]
const TopTools_ListOfShape & GEOMAlgo_BuilderArea::Loops ( ) const [inherited]
const TopTools_ListOfShape & GEOMAlgo_BuilderArea::Areas ( ) const [inherited]
Standard_Integer GEOMAlgo_Algo::ErrorStatus ( ) const [inherited]
Standard_Integer GEOMAlgo_Algo::WarningStatus ( ) const [inherited]
void GEOMAlgo_Algo::ComputeInternalShapes ( const Standard_Boolean  theFlag) [inherited]
void GEOMAlgo_Algo::CheckData ( ) [protected, virtual, inherited]
void GEOMAlgo_Algo::CheckResult ( ) [protected, virtual, inherited]

Reimplemented in GEOMAlgo_Gluer.

References GEOMAlgo_Algo.myErrorStatus.


Field Documentation

TopoDS_Face GEOMAlgo_BuilderFace.myFace [protected]
TopTools_ListOfShape GEOMAlgo_BuilderArea.myShapes [protected, inherited]
TopTools_ListOfShape GEOMAlgo_BuilderArea.myLoops [protected, inherited]
TopTools_ListOfShape GEOMAlgo_BuilderArea.myLoopsInternal [protected, inherited]
TopTools_MapOfOrientedShape GEOMAlgo_BuilderArea.myShapesToAvoid [protected, inherited]
TopTools_ListOfShape GEOMAlgo_BuilderArea.myAreas [protected, inherited]
IntTools_PContext GEOMAlgo_BuilderArea.myContext [protected, inherited]
Standard_Integer GEOMAlgo_Algo.myErrorStatus [protected, inherited]
Standard_Integer GEOMAlgo_Algo.myWarningStatus [protected, inherited]
Standard_Boolean GEOMAlgo_Algo.myComputeInternalShapes [protected, inherited]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS