Open CASCADE Technology 7.8.2.dev
TopOpeBRepBuild_AreaBuilder Class Reference

The AreaBuilder algorithm is used to reconstruct complex topological objects as Faces or Solids. More...

#include <TopOpeBRepBuild_AreaBuilder.hxx>

Inheritance diagram for TopOpeBRepBuild_AreaBuilder:

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 ~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

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.

Constructor & Destructor Documentation

◆ TopOpeBRepBuild_AreaBuilder() [1/2]

TopOpeBRepBuild_AreaBuilder::TopOpeBRepBuild_AreaBuilder ( )

◆ TopOpeBRepBuild_AreaBuilder() [2/2]

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

◆ ~TopOpeBRepBuild_AreaBuilder()

virtual TopOpeBRepBuild_AreaBuilder::~TopOpeBRepBuild_AreaBuilder ( )
virtual

Member Function Documentation

◆ ADD_LISTOFLoop_TO_LISTOFLoop()

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.

◆ ADD_Loop_TO_LISTOFLoop()

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.

◆ Atomize()

void TopOpeBRepBuild_AreaBuilder::Atomize ( TopAbs_State & state,
const TopAbs_State newstate ) const
protected

◆ CompareLoopWithListOfLoop()

TopAbs_State TopOpeBRepBuild_AreaBuilder::CompareLoopWithListOfLoop ( TopOpeBRepBuild_LoopClassifier & LC,
const Handle< TopOpeBRepBuild_Loop > & L,
const TopOpeBRepBuild_ListOfLoop & LOL,
const TopOpeBRepBuild_LoopEnum le ) const
protected

◆ InitArea()

Standard_Integer TopOpeBRepBuild_AreaBuilder::InitArea ( )

Initialize iteration on areas.

◆ InitAreaBuilder()

virtual void TopOpeBRepBuild_AreaBuilder::InitAreaBuilder ( TopOpeBRepBuild_LoopSet & LS,
TopOpeBRepBuild_LoopClassifier & LC,
const Standard_Boolean ForceClass = Standard_False )
virtual

Sets a AreaBuilder to find the areas on the shapes described by <LS> using the classifier <LC>.

Reimplemented in TopOpeBRepBuild_Area1dBuilder, TopOpeBRepBuild_Area2dBuilder, and TopOpeBRepBuild_Area3dBuilder.

◆ InitLoop()

Standard_Integer TopOpeBRepBuild_AreaBuilder::InitLoop ( )

Initialize iteration on loops of current Area.

◆ Loop()

const Handle< TopOpeBRepBuild_Loop > & TopOpeBRepBuild_AreaBuilder::Loop ( ) const

Returns the current Loop in the current area.

◆ MoreArea()

Standard_Boolean TopOpeBRepBuild_AreaBuilder::MoreArea ( ) const

◆ MoreLoop()

Standard_Boolean TopOpeBRepBuild_AreaBuilder::MoreLoop ( ) const

◆ NextArea()

void TopOpeBRepBuild_AreaBuilder::NextArea ( )

◆ NextLoop()

void TopOpeBRepBuild_AreaBuilder::NextLoop ( )

◆ REM_Loop_FROM_LISTOFLoop()

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

◆ myArea

TopOpeBRepBuild_ListOfListOfLoop TopOpeBRepBuild_AreaBuilder::myArea
protected

◆ myAreaIterator

TopOpeBRepBuild_ListIteratorOfListOfListOfLoop TopOpeBRepBuild_AreaBuilder::myAreaIterator
protected

◆ myLoopIterator

TopOpeBRepBuild_ListIteratorOfListOfLoop TopOpeBRepBuild_AreaBuilder::myLoopIterator
protected

◆ myUNKNOWNRaise

Standard_Boolean TopOpeBRepBuild_AreaBuilder::myUNKNOWNRaise
protected

The documentation for this class was generated from the following file: