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

GEOMAlgo_BuilderArea Class Reference

The root class for algorithms to build
faces/solids from set of edges/faces

#include <GEOMAlgo_BuilderArea.hxx>

Inheritance diagram for GEOMAlgo_BuilderArea:
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 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

virtual Standard_EXPORT void Perform ()=0
Standard_EXPORT Standard_Integer ErrorStatus () const
Standard_EXPORT Standard_Integer WarningStatus () const
Standard_EXPORT void ComputeInternalShapes (const Standard_Boolean theFlag)

Protected Member Functions

Standard_EXPORT GEOMAlgo_BuilderArea ()
 Empty constructor

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

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

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

virtual Standard_EXPORT void PerformInternalShapes ()
 Build finalized faces/solids with internal wires/shells

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

Protected Attributes

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_BuilderArea::GEOMAlgo_BuilderArea ( ) [protected]

References myContext.

GEOMAlgo_BuilderArea::~GEOMAlgo_BuilderArea ( ) [protected, virtual]

Member Function Documentation

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

Reimplemented from GEOMAlgo_Algo.

Reimplemented in GEOMAlgo_BuilderFace, and GEOMAlgo_BuilderSolid.

void* GEOMAlgo_BuilderArea.operator new ( size_t  size)

Reimplemented from GEOMAlgo_Algo.

Reimplemented in GEOMAlgo_BuilderFace, and GEOMAlgo_BuilderSolid.

void GEOMAlgo_BuilderArea.operator delete ( void *  anAddress)

Reimplemented from GEOMAlgo_Algo.

Reimplemented in GEOMAlgo_BuilderFace, and GEOMAlgo_BuilderSolid.

void GEOMAlgo_BuilderArea::SetContext ( const IntTools_Context &  theContext)

References myContext.

void GEOMAlgo_BuilderArea::SetShapes ( const TopTools_ListOfShape &  theLS)

References myShapes.

const TopTools_ListOfShape & GEOMAlgo_BuilderArea::Shapes ( ) const

References myShapes.

const TopTools_ListOfShape & GEOMAlgo_BuilderArea::Loops ( ) const

References myLoops.

const TopTools_ListOfShape & GEOMAlgo_BuilderArea::Areas ( ) const

References myAreas.

void GEOMAlgo_BuilderArea::PerformShapesToAvoid ( ) [protected, virtual]
void GEOMAlgo_BuilderArea::PerformLoops ( ) [protected, virtual]
void GEOMAlgo_BuilderArea::PerformAreas ( ) [protected, virtual]
void GEOMAlgo_BuilderArea::PerformInternalShapes ( ) [protected, virtual]
virtual Standard_EXPORT void GEOMAlgo_Algo.Perform ( ) [pure virtual, 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

TopTools_ListOfShape GEOMAlgo_BuilderArea.myShapes [protected]
TopTools_ListOfShape GEOMAlgo_BuilderArea.myLoops [protected]
TopTools_ListOfShape GEOMAlgo_BuilderArea.myLoopsInternal [protected]
TopTools_MapOfOrientedShape GEOMAlgo_BuilderArea.myShapesToAvoid [protected]
TopTools_ListOfShape GEOMAlgo_BuilderArea.myAreas [protected]
IntTools_PContext GEOMAlgo_BuilderArea.myContext [protected]
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