Open CASCADE Technology 6.5.2
Public Member Functions | Protected Member Functions | Protected Attributes
BOP_AreaBuilder Class Reference

#include <BOP_AreaBuilder.hxx>

Inheritance diagram for BOP_AreaBuilder:
Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
 BOP_AreaBuilder ()
 Empty Constructor

 BOP_AreaBuilder (BOP_LoopSet &LS, BOP_LoopClassifier &LC, const Standard_Boolean ForceClass=Standard_False)
 Creates the objectr to build the areas on
the shapes described by <LS> using the classifier <LC>.

virtual void Delete ()
 Destructor

virtual ~BOP_AreaBuilder ()
virtual void InitAreaBuilder (BOP_LoopSet &LS, BOP_LoopClassifier &LC, const Standard_Boolean ForceClass=Standard_False)
 Sets a AreaBuilder to find the areas on
the shapes described by <LS> using the classifier <LC>.

Standard_Integer InitArea ()
 Initialize iteration on areas.

Standard_Boolean MoreArea () const
void NextArea ()
Standard_Integer InitLoop ()
 Initialize iteration on loops of current Area.

Standard_Boolean MoreLoop () const
void NextLoop ()
const Handle_BOP_Loop & Loop () const
 Returns the current Loop in the current area.

virtual void ADD_Loop_TO_LISTOFLoop (const Handle< BOP_Loop > &L, BOP_ListOfLoop &LOL) const
 Internal

virtual void REM_Loop_FROM_LISTOFLoop (BOP_ListIteratorOfListOfLoop &ITLOL, BOP_ListOfLoop &LOL) const
 Internal

virtual void ADD_LISTOFLoop_TO_LISTOFLoop (BOP_ListOfLoop &LOL1, BOP_ListOfLoop &LOL2) const
 Internal

Protected Member Functions

TopAbs_State CompareLoopWithListOfLoop (BOP_LoopClassifier &LC, const Handle< BOP_Loop > &L, const BOP_ListOfLoop &LOL, const BOP_LoopEnum aWhat) const
 Compare position of the Loop <L> with the Area <LOL>
using the Loop Classifier <LC>.
According to <aWhat>, Loops of <LOL> are selected or not
during <LOL> exploration.

void Atomize (TopAbs_State &state, const TopAbs_State newstate) const
 Internal

Protected Attributes

BOP_ListOfListOfLoop myArea
BOP_ListIteratorOfListOfListOfLoop myAreaIterator
BOP_ListIteratorOfListOfLoop myLoopIterator
Standard_Boolean myUNKNOWNRaise

Constructor & Destructor Documentation

BOP_AreaBuilder::BOP_AreaBuilder ( )
BOP_AreaBuilder::BOP_AreaBuilder ( BOP_LoopSet LS,
BOP_LoopClassifier LC,
const Standard_Boolean  ForceClass = Standard_False 
)
virtual BOP_AreaBuilder::~BOP_AreaBuilder ( ) [inline, virtual]

Member Function Documentation

virtual void BOP_AreaBuilder::ADD_LISTOFLoop_TO_LISTOFLoop ( BOP_ListOfLoop LOL1,
BOP_ListOfLoop LOL2 
) const [virtual]
virtual void BOP_AreaBuilder::ADD_Loop_TO_LISTOFLoop ( const Handle< BOP_Loop > &  L,
BOP_ListOfLoop LOL 
) const [virtual]
void BOP_AreaBuilder::Atomize ( TopAbs_State state,
const TopAbs_State  newstate 
) const [protected]
TopAbs_State BOP_AreaBuilder::CompareLoopWithListOfLoop ( BOP_LoopClassifier LC,
const Handle< BOP_Loop > &  L,
const BOP_ListOfLoop LOL,
const BOP_LoopEnum  aWhat 
) const [protected]
virtual void BOP_AreaBuilder::Delete ( ) [virtual]
Standard_Integer BOP_AreaBuilder::InitArea ( )
virtual void BOP_AreaBuilder::InitAreaBuilder ( BOP_LoopSet LS,
BOP_LoopClassifier LC,
const Standard_Boolean  ForceClass = Standard_False 
) [virtual]

Reimplemented in BOP_Area2dBuilder, and BOP_Area3dBuilder.

Standard_Integer BOP_AreaBuilder::InitLoop ( )
const Handle_BOP_Loop& BOP_AreaBuilder::Loop ( ) const
Standard_Boolean BOP_AreaBuilder::MoreArea ( ) const
Standard_Boolean BOP_AreaBuilder::MoreLoop ( ) const
void BOP_AreaBuilder::NextArea ( )
void BOP_AreaBuilder::NextLoop ( )
void BOP_AreaBuilder::operator delete ( void *  anAddress) [inline]
void* BOP_AreaBuilder::operator new ( size_t  size) [inline]
void* BOP_AreaBuilder::operator new ( size_t  ,
void *  anAddress 
) [inline]
virtual void BOP_AreaBuilder::REM_Loop_FROM_LISTOFLoop ( BOP_ListIteratorOfListOfLoop ITLOL,
BOP_ListOfLoop LOL 
) const [virtual]

Field Documentation


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines