clear method

void clear()

Clears all nodes from the QuadTree

Implementation

void clear() {
  _nodes?.clear();
  _children = null;
  _totalNodeCount = 0;
}