Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve performance of intersection test on composite shapes #133

Merged
merged 2 commits into from
Mar 8, 2023

Conversation

sebcrozet
Copy link
Member

@sebcrozet sebcrozet commented Mar 8, 2023

The intersection check was using a distance-based best-first search that could degenerate in a complete tree traversal if there is no intersection. This PR switches to simple intersection-based depth-first search.

@sebcrozet sebcrozet added the enhancement New feature or request label Mar 8, 2023
@sebcrozet sebcrozet merged commit 6487c52 into master Mar 8, 2023
@sebcrozet sebcrozet deleted the composite-inter-optim branch March 8, 2023 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant