Open CASCADE Technology 6.6.0
|
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.
#include <BRepBuilderAPI_BndBoxTreeSelector.hxx>
Public Member Functions | |
BRepBuilderAPI_BndBoxTreeSelector () | |
Constructor; calls the base class constructor. | |
Standard_Boolean | Reject (const Bnd_Box &theBox) const |
Implementation of rejection method. | |
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. | |
void | ClearResList () |
Clear the list of intersecting boxes. | |
void | SetCurrent (const Bnd_Box &theBox) |
Set current box to search for overlapping with him. | |
const TColStd_ListOfInteger & | ResInd () |
Get list of indexes of boxes intersecting with the current box. |
BRepBuilderAPI_BndBoxTreeSelector::BRepBuilderAPI_BndBoxTreeSelector | ( | ) | [inline] |
Standard_Boolean BRepBuilderAPI_BndBoxTreeSelector::Accept | ( | const Standard_Integer & | theObj | ) | [inline] |
void BRepBuilderAPI_BndBoxTreeSelector::ClearResList | ( | ) | [inline] |
Standard_Boolean BRepBuilderAPI_BndBoxTreeSelector::Reject | ( | const Bnd_Box & | theBox | ) | const [inline] |
const TColStd_ListOfInteger& BRepBuilderAPI_BndBoxTreeSelector::ResInd | ( | ) | [inline] |
void BRepBuilderAPI_BndBoxTreeSelector::SetCurrent | ( | const Bnd_Box & | theBox | ) | [inline] |