Public Member Functions |
DEFINE_STANDARD_ALLOC | 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.
Methods that are not for public usage
|
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.
Result : TopAbs_OUT if <LOL> is empty
TopAbs_UNKNOWN if position undefined
TopAbs_IN if <L> is inside all the selected Loops of <LOL>
TopAbs_OUT if <L> is outside one of the selected Loops of <LOL>
TopAbs_ON if <L> is on one of the selected Loops of <LOL>
|
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 |