TrinityCore
|
#include <KDTree.h>
Public Member Functions | |
bool | operator!= (const BoxIntersectionIterator &other) const |
bool | operator== (const BoxIntersectionIterator &other) const |
BoxIntersectionIterator & | operator++ () |
const T & | operator* () const |
T const * | operator-> () const |
operator T * () const | |
Private Member Functions | |
BoxIntersectionIterator () | |
BoxIntersectionIterator (const AABox &b, const Node *root) | |
BoxIntersectionIterator | operator++ (int) |
Private Attributes | |
bool | isEnd |
AABox | box |
Node * | node |
Array< Node * > | stack |
int | nextValueArrayIndex |
Friends | |
class | TreeType |
C++ STL style iterator variable. See beginBoxIntersection(). The iterator overloads the -> (dereference) operator, so this acts like a pointer to the current member.
|
inlineprivate |
|
inlineprivate |
|
inline |
Overloaded cast operator so the iterator can masquerade as a pointer to a member
|
inline |
|
inline |
Overloaded dereference operator so the iterator can masquerade as a pointer to a member
|
inline |
Pre increment.
|
private |
Post increment (much slower than preincrement!). Intentionally overloaded to preclude accidentally slow code.
|
inline |
Overloaded dereference operator so the iterator can masquerade as a pointer to a member
|
inline |
|
friend |
|
private |
The box that we're testing against.
|
private |
True if this is the "end" iterator instance
|
private |
The next index of current->valueArray to return. Undefined when isEnd is true.
|
private |
Node that we're currently looking at. Undefined if isEnd is true.
|
private |
Nodes waiting to be processed