|
Open CASCADE Technology 6.6.0
|
The class BOPDS_SubIterator is
1.to compute intersections between two sub-sets of
BRep sub-shapes
of arguments of an operation (see the class BOPDS_DS)
in terms of theirs bounding boxes
2.provides interface to iterare the pairs of
intersected sub-shapes of given type
#include <BOPDS_SubIterator.hxx>
Public Member Functions | |
| BOPDS_SubIterator () | |
| Empty contructor | |
| virtual | ~BOPDS_SubIterator () |
| BOPDS_SubIterator (const BOPCol_BaseAllocator &theAllocator) | |
| Contructor theAllocator - the allocator to manage the memory | |
| void | SetDS (const BOPDS_PDS &pDS) |
| Modifier Sets the data structure <pDS> to process | |
| const BOPDS_DS & | DS () const |
| Selector Returns the data structure | |
| void | SetSubSet1 (const BOPCol_ListOfInteger &theLI) |
| Modifier Sets the first set of indices <theLI> to process | |
| const BOPCol_ListOfInteger & | SubSet1 () const |
| Selector Returns the first set of indices to process | |
| void | SetSubSet2 (const BOPCol_ListOfInteger &theLI) |
| Modifier Sets the second set of indices <theLI> to process | |
| const BOPCol_ListOfInteger & | SubSet2 () const |
| Selector Returns the second set of indices to process | |
| void | Initialize () |
| Initializes the iterator | |
| Standard_Boolean | More () const |
| Returns true if still there are pairs of intersected shapes | |
| void | Next () |
| Moves iterations ahead | |
| void | Value (Standard_Integer &theIndex1, Standard_Integer &theIndex2) const |
| Returns indices (DS) of intersected shapes theIndex1 - the index of the first shape theIndex2 - the index of the second shape | |
| virtual void | Prepare () |
| Perform the intersection algorithm and prepare the results to be used | |
Protected Member Functions | |
| virtual void | Intersect () |
Protected Attributes | |
| BOPCol_BaseAllocator | myAllocator |
| BOPDS_PDS | myDS |
| BOPDS_ListOfPassKeyBoolean | myList |
| BOPDS_ListIteratorOfListOfPassKeyBoolean | myIterator |
| BOPCol_PListOfInteger | mySubSet1 |
| BOPCol_PListOfInteger | mySubSet2 |
| BOPDS_SubIterator::BOPDS_SubIterator | ( | ) |
| virtual BOPDS_SubIterator::~BOPDS_SubIterator | ( | ) | [virtual] |
| BOPDS_SubIterator::BOPDS_SubIterator | ( | const BOPCol_BaseAllocator & | theAllocator | ) |
| const BOPDS_DS& BOPDS_SubIterator::DS | ( | ) | const |
| void BOPDS_SubIterator::Initialize | ( | ) |
| virtual void BOPDS_SubIterator::Intersect | ( | ) | [protected, virtual] |
| Standard_Boolean BOPDS_SubIterator::More | ( | ) | const |
| void BOPDS_SubIterator::Next | ( | ) |
| virtual void BOPDS_SubIterator::Prepare | ( | ) | [virtual] |
| void BOPDS_SubIterator::SetDS | ( | const BOPDS_PDS & | pDS | ) |
| void BOPDS_SubIterator::SetSubSet1 | ( | const BOPCol_ListOfInteger & | theLI | ) |
| void BOPDS_SubIterator::SetSubSet2 | ( | const BOPCol_ListOfInteger & | theLI | ) |
| const BOPCol_ListOfInteger& BOPDS_SubIterator::SubSet1 | ( | ) | const |
| const BOPCol_ListOfInteger& BOPDS_SubIterator::SubSet2 | ( | ) | const |
| void BOPDS_SubIterator::Value | ( | Standard_Integer & | theIndex1, |
| Standard_Integer & | theIndex2 | ||
| ) | const |
BOPCol_BaseAllocator BOPDS_SubIterator::myAllocator [protected] |
BOPDS_PDS BOPDS_SubIterator::myDS [protected] |
BOPDS_ListOfPassKeyBoolean BOPDS_SubIterator::myList [protected] |
BOPCol_PListOfInteger BOPDS_SubIterator::mySubSet1 [protected] |
BOPCol_PListOfInteger BOPDS_SubIterator::mySubSet2 [protected] |
1.7.4