0

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?

Nakilon
  • 34,866
  • 14
  • 107
  • 142
julio
  • 1

1 Answers1

1

Either raise a counter in the insert method of the quadtree, or count it afterwards, by iterating through the quad tree.

AlexWien
  • 28,470
  • 6
  • 53
  • 83