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

Introduce indexable getter #876

Merged
merged 2 commits into from
Jun 9, 2023
Merged

Conversation

aprokop
Copy link
Contributor

@aprokop aprokop commented May 25, 2023

This is edging us closer towards APIv2. In the new API, we'll store values, and require an indexable getter to produce an indexable that will be used to construct a hierarchy. Indexable getter will eventually be provided by a user.

For now, though, we are using an indexable getter that converts a stored pair of (index, bounding_volume) to bounding_volume.

We still rely on the indexable to be the same type as the bounding volume in this patch.

@aprokop aprokop added the refactoring Code reorganization label May 25, 2023
@aprokop
Copy link
Contributor Author

aprokop commented May 25, 2023

@dalg24 I'd like to get a review despite some tests commenting out. Mainly, I want to see what you think about overall approach and whether you see any issues on a high level.

@aprokop aprokop mentioned this pull request May 26, 2023
Co-authored-by: Damien L-G <dalg24@gmail.com>
src/details/ArborX_DetailsTreeConstruction.hpp Outdated Show resolved Hide resolved
src/details/ArborX_IndexableGetter.hpp Show resolved Hide resolved
@aprokop aprokop merged commit 14d0cf3 into arborx:master Jun 9, 2023
@aprokop aprokop deleted the legacy_indexable_getter branch June 9, 2023 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Code reorganization
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants