Reputation: 1
I'm using a point quadtree and i need know how i can count the number of quadrants generated after insert the points on a quadtree?
Upvotes: 0
Views: 190
Reputation: 28747
Either raise a counter in the insert method of the quadtree, or count it afterwards, by iterating through the quad tree.
Upvotes: 1