OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKBool
TopOpeBRepBuild


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 :
- a LoopSet describing the object to reconstruct.
- a LoopClassifier providing the classification algorithm.
.

#include <TopOpeBRepBuild_AreaBuilder.hxx>

Inheritance diagram for TopOpeBRepBuild_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)
Standard_EXPORT TopOpeBRepBuild_AreaBuilder ()
Standard_EXPORT 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 Standard_EXPORT void Delete ()
virtual Standard_EXPORT ~TopOpeBRepBuild_AreaBuilder ()
virtual Standard_EXPORT 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_EXPORT Standard_Integer InitArea ()
 Initialize iteration on areas.
.
Standard_EXPORT Standard_Boolean MoreArea () const
Standard_EXPORT void NextArea ()
Standard_EXPORT Standard_Integer InitLoop ()
 Initialize iteration on loops of current Area.
.
Standard_EXPORT Standard_Boolean MoreLoop () const
Standard_EXPORT void NextLoop ()
Standard_EXPORT const Handle_TopOpeBRepBuild_Loop & Loop () const
 Returns the current Loop in the current area.
.
virtual Standard_EXPORT void ADD_Loop_TO_LISTOFLoop (const Handle(TopOpeBRepBuild_Loop)&L, TopOpeBRepBuild_ListOfLoop &LOL, const Standard_Address s=NULL) const
virtual Standard_EXPORT void REM_Loop_FROM_LISTOFLoop (TopOpeBRepBuild_ListIteratorOfListOfLoop &ITLOL, TopOpeBRepBuild_ListOfLoop &LOL, const Standard_Address s=NULL) const
virtual Standard_EXPORT 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

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

Protected Attributes

TopOpeBRepBuild_ListOfListOfLoop myArea
TopOpeBRepBuild_ListIteratorOfListOfListOfLoop myAreaIterator
TopOpeBRepBuild_ListIteratorOfListOfLoop myLoopIterator
Standard_Boolean myUNKNOWNRaise

Constructor & Destructor Documentation

Standard_EXPORT TopOpeBRepBuild_AreaBuilder::TopOpeBRepBuild_AreaBuilder  ) 
 

Standard_EXPORT TopOpeBRepBuild_AreaBuilder::TopOpeBRepBuild_AreaBuilder TopOpeBRepBuild_LoopSet LS,
TopOpeBRepBuild_LoopClassifier LC,
const Standard_Boolean  ForceClass = Standard_False
 

virtual Standard_EXPORT TopOpeBRepBuild_AreaBuilder::~TopOpeBRepBuild_AreaBuilder  )  [inline, virtual]
 


Member Function Documentation

virtual Standard_EXPORT 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 Standard_EXPORT 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.

Standard_EXPORT void TopOpeBRepBuild_AreaBuilder::Atomize TopAbs_State &  state,
const TopAbs_State  newstate
const [protected]
 

Standard_EXPORT TopAbs_State TopOpeBRepBuild_AreaBuilder::CompareLoopWithListOfLoop TopOpeBRepBuild_LoopClassifier LC,
const Handle(TopOpeBRepBuild_Loop)&  L,
const TopOpeBRepBuild_ListOfLoop LOL,
const TopOpeBRepBuild_LoopEnum  le
const [protected]
 

virtual Standard_EXPORT void TopOpeBRepBuild_AreaBuilder::Delete  )  [virtual]
 

Standard_EXPORT Standard_Integer TopOpeBRepBuild_AreaBuilder::InitArea  ) 
 

virtual Standard_EXPORT void TopOpeBRepBuild_AreaBuilder::InitAreaBuilder TopOpeBRepBuild_LoopSet LS,
TopOpeBRepBuild_LoopClassifier LC,
const Standard_Boolean  ForceClass = Standard_False
[virtual]
 

Reimplemented in TopOpeBRepBuild_Area1dBuilder, TopOpeBRepBuild_Area2dBuilder, and TopOpeBRepBuild_Area3dBuilder.

Standard_EXPORT Standard_Integer TopOpeBRepBuild_AreaBuilder::InitLoop  ) 
 

Standard_EXPORT const Handle_TopOpeBRepBuild_Loop& TopOpeBRepBuild_AreaBuilder::Loop  )  const
 

Standard_EXPORT Standard_Boolean TopOpeBRepBuild_AreaBuilder::MoreArea  )  const
 

Standard_EXPORT Standard_Boolean TopOpeBRepBuild_AreaBuilder::MoreLoop  )  const
 

Standard_EXPORT void TopOpeBRepBuild_AreaBuilder::NextArea  ) 
 

Standard_EXPORT void TopOpeBRepBuild_AreaBuilder::NextLoop  ) 
 

void TopOpeBRepBuild_AreaBuilder::operator delete void *  anAddress  )  [inline]
 

Reimplemented in TopOpeBRepBuild_Area1dBuilder, TopOpeBRepBuild_Area2dBuilder, TopOpeBRepBuild_Area3dBuilder, TopOpeBRepBuild_EdgeBuilder, TopOpeBRepBuild_FaceAreaBuilder, and TopOpeBRepBuild_SolidAreaBuilder.

void* TopOpeBRepBuild_AreaBuilder::operator new size_t  size  )  [inline]
 

Reimplemented in TopOpeBRepBuild_Area1dBuilder, TopOpeBRepBuild_Area2dBuilder, TopOpeBRepBuild_Area3dBuilder, TopOpeBRepBuild_EdgeBuilder, TopOpeBRepBuild_FaceAreaBuilder, and TopOpeBRepBuild_SolidAreaBuilder.

void* TopOpeBRepBuild_AreaBuilder::operator new size_t  ,
void *  anAddress
[inline]
 

Reimplemented in TopOpeBRepBuild_Area1dBuilder, TopOpeBRepBuild_Area2dBuilder, TopOpeBRepBuild_Area3dBuilder, TopOpeBRepBuild_EdgeBuilder, TopOpeBRepBuild_FaceAreaBuilder, and TopOpeBRepBuild_SolidAreaBuilder.

virtual Standard_EXPORT 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

TopOpeBRepBuild_ListOfListOfLoop TopOpeBRepBuild_AreaBuilder::myArea [protected]
 

TopOpeBRepBuild_ListIteratorOfListOfListOfLoop TopOpeBRepBuild_AreaBuilder::myAreaIterator [protected]
 

TopOpeBRepBuild_ListIteratorOfListOfLoop TopOpeBRepBuild_AreaBuilder::myLoopIterator [protected]
 

Standard_Boolean TopOpeBRepBuild_AreaBuilder::myUNKNOWNRaise [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:42:54 2008 for OpenCASCADE by  doxygen 1.4.1