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

GEOMAlgo_BuilderSolid Class Reference

The algorithm to build solids from set of faces

#include <GEOMAlgo_BuilderSolid.hxx>

Inheritance diagram for GEOMAlgo_BuilderSolid:
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_BuilderSolid ()
 Empty constructor

virtual Standard_EXPORT ~GEOMAlgo_BuilderSolid ()
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 faces that
a) are internal
b) are the same and have different orientation

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

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

virtual Standard_EXPORT void PerformInternalShapes ()
 Build finalized solids with internal 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_BuilderSolid::GEOMAlgo_BuilderSolid ( )
GEOMAlgo_BuilderSolid::~GEOMAlgo_BuilderSolid ( ) [virtual]

Member Function Documentation

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

Reimplemented from GEOMAlgo_BuilderArea.

void* GEOMAlgo_BuilderSolid.operator new ( size_t  size)

Reimplemented from GEOMAlgo_BuilderArea.

void GEOMAlgo_BuilderSolid.operator delete ( void *  anAddress)

Reimplemented from GEOMAlgo_BuilderArea.

void GEOMAlgo_BuilderSolid::Perform ( ) [virtual]
void GEOMAlgo_BuilderSolid::PerformShapesToAvoid ( ) [protected, virtual]
void GEOMAlgo_BuilderSolid::PerformLoops ( ) [protected, virtual]
void GEOMAlgo_BuilderSolid::PerformAreas ( ) [protected, virtual]
void GEOMAlgo_BuilderSolid::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

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