Open CASCADE Technology 6.6.0
Public Member Functions | Protected Member Functions | Protected Attributes
TopOpeBRepBuild_AreaBuilder Class Reference

The AreaBuilder algorithm is used to
reconstruct complex topological objects as Faces
or Solids.
* Loop is the composite topological object of
the boundary. Wire for a Face. Shell for a Solid.
* LoopSet is a tool describing the object to
build. It gives an iteration on Loops. For each
Loop it tells if it is on the boundary or if it is
an interference.
* LoopClassifier is an algorithm used to test
if a Loop is inside another Loop.
The result of the reconstruction is an iteration
on the reconstructed areas. An area is described
by a set of Loops.
A AreaBuilder is built with :
More...

#include <TopOpeBRepBuild_AreaBuilder.hxx>

Inheritance diagram for TopOpeBRepBuild_AreaBuilder:
Inheritance graph
[legend]

Public Member Functions

 TopOpeBRepBuild_AreaBuilder ()
 TopOpeBRepBuild_AreaBuilder (TopOpeBRepBuild_LoopSet &LS, TopOpeBRepBuild_LoopClassifier &LC, const Standard_Boolean ForceClass=Standard_False)
 Creates a AreaBuilder to build the areas on
the shapes described by <LS> using the classifier <LC>.

virtual void Delete ()
virtual ~TopOpeBRepBuild_AreaBuilder ()
virtual void InitAreaBuilder (TopOpeBRepBuild_LoopSet &LS, TopOpeBRepBuild_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_TopOpeBRepBuild_Loop & Loop () const
 Returns the current Loop in the current area.

virtual void ADD_Loop_TO_LISTOFLoop (const Handle< TopOpeBRepBuild_Loop > &L, TopOpeBRepBuild_ListOfLoop &LOL, const Standard_Address s=NULL) const
virtual void REM_Loop_FROM_LISTOFLoop (TopOpeBRepBuild_ListIteratorOfListOfLoop &ITLOL, TopOpeBRepBuild_ListOfLoop &LOL, const Standard_Address s=NULL) const
virtual void ADD_LISTOFLoop_TO_LISTOFLoop (TopOpeBRepBuild_ListOfLoop &LOL1, TopOpeBRepBuild_ListOfLoop &LOL2, const Standard_Address s=NULL, const Standard_Address s1=NULL, const Standard_Address s2=NULL) const

Protected Member Functions

TopAbs_State CompareLoopWithListOfLoop (TopOpeBRepBuild_LoopClassifier &LC, const Handle< TopOpeBRepBuild_Loop > &L, const TopOpeBRepBuild_ListOfLoop &LOL, const TopOpeBRepBuild_LoopEnum le) const
void Atomize (TopAbs_State &state, const TopAbs_State newstate) const

Protected Attributes

TopOpeBRepBuild_ListOfListOfLoop myArea
TopOpeBRepBuild_ListIteratorOfListOfListOfLoop myAreaIterator
TopOpeBRepBuild_ListIteratorOfListOfLoop myLoopIterator
Standard_Boolean myUNKNOWNRaise

Detailed Description


Constructor & Destructor Documentation

TopOpeBRepBuild_AreaBuilder::TopOpeBRepBuild_AreaBuilder ( )
TopOpeBRepBuild_AreaBuilder::TopOpeBRepBuild_AreaBuilder ( TopOpeBRepBuild_LoopSet LS,
TopOpeBRepBuild_LoopClassifier LC,
const Standard_Boolean  ForceClass = Standard_False 
)
virtual TopOpeBRepBuild_AreaBuilder::~TopOpeBRepBuild_AreaBuilder ( ) [inline, virtual]

Member Function Documentation

virtual void TopOpeBRepBuild_AreaBuilder::ADD_LISTOFLoop_TO_LISTOFLoop ( TopOpeBRepBuild_ListOfLoop LOL1,
TopOpeBRepBuild_ListOfLoop LOL2,
const Standard_Address  s = NULL,
const Standard_Address  s1 = NULL,
const Standard_Address  s2 = NULL 
) const [virtual]

Reimplemented in TopOpeBRepBuild_Area1dBuilder.

virtual void TopOpeBRepBuild_AreaBuilder::ADD_Loop_TO_LISTOFLoop ( const Handle< TopOpeBRepBuild_Loop > &  L,
TopOpeBRepBuild_ListOfLoop LOL,
const Standard_Address  s = NULL 
) const [virtual]

Reimplemented in TopOpeBRepBuild_Area1dBuilder.

void TopOpeBRepBuild_AreaBuilder::Atomize ( TopAbs_State state,
const TopAbs_State  newstate 
) const [protected]
TopAbs_State TopOpeBRepBuild_AreaBuilder::CompareLoopWithListOfLoop ( TopOpeBRepBuild_LoopClassifier LC,
const Handle< TopOpeBRepBuild_Loop > &  L,
const TopOpeBRepBuild_ListOfLoop LOL,
const TopOpeBRepBuild_LoopEnum  le 
) const [protected]
virtual void TopOpeBRepBuild_AreaBuilder::Delete ( ) [virtual]
Standard_Integer TopOpeBRepBuild_AreaBuilder::InitArea ( )
virtual void TopOpeBRepBuild_AreaBuilder::InitAreaBuilder ( TopOpeBRepBuild_LoopSet LS,
TopOpeBRepBuild_LoopClassifier LC,
const Standard_Boolean  ForceClass = Standard_False 
) [virtual]
Standard_Integer TopOpeBRepBuild_AreaBuilder::InitLoop ( )
const Handle_TopOpeBRepBuild_Loop& TopOpeBRepBuild_AreaBuilder::Loop ( ) const
Standard_Boolean TopOpeBRepBuild_AreaBuilder::MoreArea ( ) const
Standard_Boolean TopOpeBRepBuild_AreaBuilder::MoreLoop ( ) const
void TopOpeBRepBuild_AreaBuilder::NextArea ( )
void TopOpeBRepBuild_AreaBuilder::NextLoop ( )
virtual void TopOpeBRepBuild_AreaBuilder::REM_Loop_FROM_LISTOFLoop ( TopOpeBRepBuild_ListIteratorOfListOfLoop ITLOL,
TopOpeBRepBuild_ListOfLoop LOL,
const Standard_Address  s = NULL 
) const [virtual]

Reimplemented in TopOpeBRepBuild_Area1dBuilder.


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