The implementation of iterator of intersected shapes for Get In Place Algorithm. More...
#include <GEOMAlgo_GetInPlace.hxx>
Public Member Functions | |
| GEOMAlgo_GetInPlaceIterator () | |
| Constructor. More... | |
| virtual | ~GEOMAlgo_GetInPlaceIterator () |
| Destructor. More... | |
| void | Clear () |
| Clear the internal content. More... | |
| void | AppendPair (const GEOMAlgo_CoupleOfShapes &theCS) |
| Append the pair of intersected shapes. More... | |
| void | Initialize (const TopAbs_ShapeEnum theT1, const TopAbs_ShapeEnum theT2) |
| Initialize the iterator. More... | |
| Standard_Boolean | More () const |
| Check the existence of pairs to iterare. More... | |
| void | Next () |
| Shift to the next pair. More... | |
| const GEOMAlgo_CoupleOfShapes & | Value () const |
| Returns the pair of intersected shapes. More... | |
Protected Attributes | |
| Standard_Integer | myDim |
| GEOMAlgo_ListOfCoupleOfShapes | myLists [10] |
| GEOMAlgo_ListOfCoupleOfShapes | myEmptyList |
| GEOMAlgo_ListIteratorOfListOfCoupleOfShapes | myIterator |
The intersection is in terms of 3D bounding boxes.
| GEOMAlgo_GetInPlaceIterator::GEOMAlgo_GetInPlaceIterator | ( | ) |
References myDim.
|
virtual |
| void GEOMAlgo_GetInPlaceIterator::AppendPair | ( | const GEOMAlgo_CoupleOfShapes & | theCS | ) |
| theCS | The pair of intersected shapes. |
References myLists, GEOMAlgo_CoupleOfShapes::SetShapes(), GEOMAlgo_CoupleOfShapes::Shape1(), GEOMAlgo_CoupleOfShapes::Shape2(), and TypeToInteger().
| void GEOMAlgo_GetInPlaceIterator::Initialize | ( | const TopAbs_ShapeEnum | theT1, |
| const TopAbs_ShapeEnum | theT2 | ||
| ) |
| theT1 | The type of (sub)shape What. |
| theT2 | The type of (sub)shape Where. |
References myEmptyList, myIterator, myLists, and TypeToInteger().
| Standard_Boolean GEOMAlgo_GetInPlaceIterator::More | ( | ) | const |
References myIterator.
| void GEOMAlgo_GetInPlaceIterator::Next | ( | ) |
References myIterator.
| const GEOMAlgo_CoupleOfShapes & GEOMAlgo_GetInPlaceIterator::Value | ( | ) | const |
References myIterator.
|
protected |
|
protected |
|
protected |
|
protected |