Skip to content

create an AABB from known bounds#228

Merged
adamreichold merged 5 commits intogeorust:masterfrom
mockersf:AABB-from-known-bounds
Mar 27, 2026
Merged

create an AABB from known bounds#228
adamreichold merged 5 commits intogeorust:masterfrom
mockersf:AABB-from-known-bounds

Conversation

@mockersf
Copy link
Copy Markdown
Contributor

  • I agree to follow the project's code of conduct.
  • I added an entry to rstar/CHANGELOG.md if knowledge of this change could be valuable to users.

I tried using rstar, and had significantly worse results than I expected. In my benchmarks, I noticed the code was spending a lot of times finding min_point/max_point for the AABB construction even though I already knew them.

This PR adds a new utility constructor that takes known bounds, and asserts they are correct in debug mode

@adamreichold adamreichold added this pull request to the merge queue Mar 27, 2026
Merged via the queue into georust:master with commit 4e510b0 Mar 27, 2026
6 checks passed
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