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>
|
| | BRepBuilderAPI_BndBoxTreeSelector ()=default |
| | Constructor; calls the base class constructor.
|
| bool | Reject (const Bnd_Box &theBox) const override |
| | Implementation of rejection method.
|
| bool | Accept (const int &theObj) override |
| | 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 NCollection_List< int > & | ResInd () |
| | Get list of indexes of boxes intersecting with the current box.
|
| | Selector () |
| virtual bool | Reject (const TheBndType &) const =0 |
| virtual bool | Accept (const TheObjType &)=0 |
| bool | Stop () const noexcept |
| virtual | ~Selector ()=default |
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.
◆ BRepBuilderAPI_BndBoxTreeSelector()
| BRepBuilderAPI_BndBoxTreeSelector::BRepBuilderAPI_BndBoxTreeSelector |
( |
| ) |
|
|
default |
Constructor; calls the base class constructor.
◆ Accept()
| bool BRepBuilderAPI_BndBoxTreeSelector::Accept |
( |
const int & | theObj | ) |
|
|
inlineoverride |
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
◆ ClearResList()
| void BRepBuilderAPI_BndBoxTreeSelector::ClearResList |
( |
| ) |
|
|
inline |
Clear the list of intersecting boxes.
◆ Reject()
| bool BRepBuilderAPI_BndBoxTreeSelector::Reject |
( |
const Bnd_Box & | theBox | ) |
const |
|
inlineoverride |
Implementation of rejection method.
- Returns
- True if the bounding box does not intersect with the current
◆ ResInd()
Get list of indexes of boxes intersecting with the current box.
◆ SetCurrent()
| 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: