Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
GEOMAlgo_GetInPlaceIterator Class Reference

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_CoupleOfShapesValue () const
 Returns the pair of intersected shapes. More...
 

Protected Attributes

Standard_Integer myDim
 
GEOMAlgo_ListOfCoupleOfShapes myLists [10]
 
GEOMAlgo_ListOfCoupleOfShapes myEmptyList
 
GEOMAlgo_ListIteratorOfListOfCoupleOfShapes myIterator
 

Detailed Description

The intersection is in terms of 3D bounding boxes.

Constructor & Destructor Documentation

GEOMAlgo_GetInPlaceIterator::GEOMAlgo_GetInPlaceIterator ( )

References myDim.

GEOMAlgo_GetInPlaceIterator::~GEOMAlgo_GetInPlaceIterator ( )
virtual

Member Function Documentation

void GEOMAlgo_GetInPlaceIterator::AppendPair ( const GEOMAlgo_CoupleOfShapes theCS)
void GEOMAlgo_GetInPlaceIterator::Clear ( )

References myDim, and myLists.

void GEOMAlgo_GetInPlaceIterator::Initialize ( const TopAbs_ShapeEnum  theT1,
const TopAbs_ShapeEnum  theT2 
)
Parameters
theT1The type of (sub)shape What.
theT2The type of (sub)shape Where.

References myEmptyList, myIterator, myLists, and TypeToInteger().

Standard_Boolean GEOMAlgo_GetInPlaceIterator::More ( ) const
Returns
Standard_True if there are pairs to iterare.

References myIterator.

void GEOMAlgo_GetInPlaceIterator::Next ( )

References myIterator.

const GEOMAlgo_CoupleOfShapes & GEOMAlgo_GetInPlaceIterator::Value ( ) const
Returns
The pair of intersected shapes.

References myIterator.

Member Data Documentation

Standard_Integer GEOMAlgo_GetInPlaceIterator::myDim
protected
GEOMAlgo_ListOfCoupleOfShapes GEOMAlgo_GetInPlaceIterator::myEmptyList
protected
GEOMAlgo_ListIteratorOfListOfCoupleOfShapes GEOMAlgo_GetInPlaceIterator::myIterator
protected
GEOMAlgo_ListOfCoupleOfShapes GEOMAlgo_GetInPlaceIterator::myLists[10]
protected

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