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

Reorganize the places geometry algorithms are in #1076

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

aprokop
Copy link
Contributor

@aprokop aprokop commented Apr 25, 2024

Before, all* geometry algorithms were in ArborX_DetailsAlgorithms.hpp. With each added geometry this leads to unbounded growth in that file. Certain algorithms with non-trivial geometries (e.g., triangle, ray, or the upcoming tetrahedron) are pretty convoluted and take a lot of space.

This PR reorganizes things, so that the geometry algorithms are placed in more appropriate places. It does impose a partial order on the geometries:

Point < all geometries
Box < all geometries but point

@aprokop aprokop added the refactoring Code reorganization label Apr 25, 2024
@aprokop aprokop mentioned this pull request May 2, 2024
@aprokop aprokop marked this pull request as draft May 2, 2024 19:17
@aprokop aprokop added the geometry Anything to do with geometry label May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
geometry Anything to do with geometry refactoring Code reorganization
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant