Open CASCADE Technology  7.0.0
Public Member Functions

BRepBuilderAPI_BndBoxTreeSelector Class Reference

Class BRepBuilderAPI_BndBoxTreeSelector derived from UBTree::Selector This class is used to select overlapping boxes, stored in NCollection::UBTree; contains methods to maintain the selection condition and to retrieve selected objects after search. More...

#include <BRepBuilderAPI_BndBoxTreeSelector.hxx>

Inheritance diagram for BRepBuilderAPI_BndBoxTreeSelector:
Inheritance graph
[legend]

Public Member Functions

 BRepBuilderAPI_BndBoxTreeSelector ()
 Constructor; calls the base class constructor. More...
 
Standard_Boolean Reject (const Bnd_Box &theBox) const
 Implementation of rejection method. More...
 
Standard_Boolean Accept (const Standard_Integer &theObj)
 Implementation of acceptance method This method is called when the bounding box intersect with the current. It stores the object - the index of box in the list of accepted objects. More...
 
void ClearResList ()
 Clear the list of intersecting boxes. More...
 
void SetCurrent (const Bnd_Box &theBox)
 Set current box to search for overlapping with him. More...
 
const TColStd_ListOfIntegerResInd ()
 Get list of indexes of boxes intersecting with the current box. More...
 
- Public Member Functions inherited from NCollection_UBTree< TheObjType, TheBndType >::Selector
 Selector ()
 
virtual Standard_Boolean Reject (const TheBndType &) const =0
 
virtual Standard_Boolean Accept (const TheObjType &)=0
 
Standard_Boolean Stop () const
 
virtual ~Selector ()
 

Additional Inherited Members

- Protected Attributes inherited from NCollection_UBTree< TheObjType, TheBndType >::Selector
Standard_Boolean myStop
 

Detailed Description

Class BRepBuilderAPI_BndBoxTreeSelector derived from UBTree::Selector This class is used to select overlapping boxes, stored in NCollection::UBTree; contains methods to maintain the selection condition and to retrieve selected objects after search.

Constructor & Destructor Documentation

BRepBuilderAPI_BndBoxTreeSelector::BRepBuilderAPI_BndBoxTreeSelector ( )
inline

Constructor; calls the base class constructor.

Member Function Documentation

Standard_Boolean BRepBuilderAPI_BndBoxTreeSelector::Accept ( const Standard_Integer theObj)
inline

Implementation of acceptance method This method is called when the bounding box intersect with the current. It stores the object - the index of box in the list of accepted objects.

Returns
True, because the object is accepted
void BRepBuilderAPI_BndBoxTreeSelector::ClearResList ( )
inline

Clear the list of intersecting boxes.

Standard_Boolean BRepBuilderAPI_BndBoxTreeSelector::Reject ( const Bnd_Box theBox) const
inline

Implementation of rejection method.

Returns
True if the bounding box does not intersect with the current
const TColStd_ListOfInteger& BRepBuilderAPI_BndBoxTreeSelector::ResInd ( )
inline

Get list of indexes of boxes intersecting with the current box.

void BRepBuilderAPI_BndBoxTreeSelector::SetCurrent ( const Bnd_Box theBox)
inline

Set current box to search for overlapping with him.


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