The class BOPDS_SubIterator is used to compute intersections between bounding boxes of two sub-sets of BRep sub-shapes of arguments of an operation (see the class BOPDS_DS). The class provides interface to iterate the pairs of intersected sub-shapes.
More...
#include <BOPDS_SubIterator.hxx>
The class BOPDS_SubIterator is used to compute intersections between bounding boxes of two sub-sets of BRep sub-shapes of arguments of an operation (see the class BOPDS_DS). The class provides interface to iterate the pairs of intersected sub-shapes.
◆ BOPDS_SubIterator() [1/2]
BOPDS_SubIterator::BOPDS_SubIterator |
( |
| ) |
|
◆ ~BOPDS_SubIterator()
virtual BOPDS_SubIterator::~BOPDS_SubIterator |
( |
| ) |
|
|
virtual |
◆ BOPDS_SubIterator() [2/2]
Constructor theAllocator - the allocator to manage the memory.
◆ DS()
Returns the data structure.
◆ ExpectedLength()
Returns the number of interfering pairs.
◆ Initialize()
void BOPDS_SubIterator::Initialize |
( |
| ) |
|
Initializes the iterator.
◆ Intersect()
virtual void BOPDS_SubIterator::Intersect |
( |
| ) |
|
|
protectedvirtual |
Performs intersection of bounding boxes.
◆ More()
Returns true if there are more pairs of intersected shapes.
◆ Next()
void BOPDS_SubIterator::Next |
( |
| ) |
|
|
inline |
◆ Prepare()
virtual void BOPDS_SubIterator::Prepare |
( |
| ) |
|
|
virtual |
Perform the intersection algorithm and prepare the results to be used.
◆ SetDS()
Sets the data structure <pDS> to process. It is used to access the shapes and their bounding boxes.
◆ SetSubSet1()
Sets the first set of indices <theLI> to process.
◆ SetSubSet2()
Sets the second set of indices <theLI> to process.
◆ SubSet1()
Returns the first set of indices to process.
◆ SubSet2()
Returns the second set of indices to process.
◆ Value()
Returns indices (DS) of intersected shapes theIndex1 - the index of the first shape theIndex2 - the index of the second shape.
◆ myAllocator
◆ myDS
◆ myIterator
◆ myList
◆ mySubSet1
◆ mySubSet2
The documentation for this class was generated from the following file: