Refactored QuadTreeBranch's GetContent and GetLeafs methods to use enumerateChildren.