Skip to content

For visualisation, return regions in quadtree#13

Merged
alexespencer merged 2 commits into
mainfrom
asp/return-regions
May 31, 2025
Merged

For visualisation, return regions in quadtree#13
alexespencer merged 2 commits into
mainfrom
asp/return-regions

Conversation

@alexespencer

Copy link
Copy Markdown
Owner

No description provided.

@alexespencer alexespencer requested a review from Copilot May 31, 2025 21:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new method to the QuadTree implementation to recursively collect and return all regions for visualization purposes.

  • Added a new public function regions that starts with the tree's own region and recursively gathers regions from all subtrees.
  • Updated tests to assert that multiple regions are present in the QuadTree.

Comment thread quadtree/src/quadtree.rs Outdated
@alexespencer alexespencer merged commit 2d08430 into main May 31, 2025
1 check passed
@alexespencer alexespencer deleted the asp/return-regions branch May 31, 2025 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants