|
Public Member Functions |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
| Standard_EXPORT | SelectBasics_SortAlgo () |
| | Empty rectangle selector.
.
|
| Standard_EXPORT | SelectBasics_SortAlgo (const Bnd_Box2d &ClippingRectangle, const Standard_Real sizeOfSensitiveArea, const Handle(Bnd_HArray1OfBox2d)&theRectangles) |
| | Creates a initialized selector.
.
|
| Standard_EXPORT void | Initialize (const Bnd_Box2d &ClippingRectangle, const Standard_Real sizeOfSensitiveArea, const Handle(Bnd_HArray1OfBox2d)&theRectangles) |
| | Clears and initializes the selector.
.
|
| Standard_EXPORT void | InitSelect (const Standard_Real x, const Standard_Real y) |
| | Searchs the items on this position.
.
|
| Standard_EXPORT void | InitSelect (const Bnd_Box2d &rect) |
| | Searchs the items in this rectangle.
.
|
| Standard_EXPORT Standard_Boolean | More () const |
| | Returns true if there is something selected.
.
|
| Standard_EXPORT void | Next () |
| | Sets value on the next selected item.
.
|
| Standard_EXPORT Standard_Integer | Value () const |
| | Returns the index of the selected rectangle.
.
|
Private Attributes |
| Bnd_Box2d | clipRect |
| Standard_Real | sizeArea |
| Bnd_BoundSortBox2d | sortedRect |
| TColStd_MapOfInteger | myMap |
| TColStd_MapIteratorOfMapOfInteger | curResult |