class
TSpatialTree::TreeIterator
Iterator that iterates over all elements in the tree.
Public
Constructors
TreeIterator
TreeIterator(const TSpatialTree &tree)
Constructs an iterator that iterates over all elements in the specified tree.
Methods
GetElement
const ElementType &GetElement() const
Returns the contents of the current element.
MoveNext() must be called at least once and it must return true prior to attempting to access this data.
MoveNext
bool MoveNext()
Moves to the next intersecting element.
Iterator starts at a position before the first element, therefore this method must be called at least once before attempting to access the current element data. If the method returns false it means iterator end has been reached and attempting to access data will result in an error.
Private
Fields
mNodeIterator
NodeIterator mNodeIterator
mElementIterator
ElementIterator mElementIterator