Skip to content
New issue

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

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

Already on GitHub? # to your account

Add KDOP<2,4> and KDOP<2,8> #1088

Merged
merged 3 commits into from
May 16, 2024
Merged

Add KDOP<2,4> and KDOP<2,8> #1088

merged 3 commits into from
May 16, 2024

Conversation

aprokop
Copy link
Contributor

@aprokop aprokop commented May 15, 2024

No description provided.

@aprokop aprokop added the enhancement New feature or request label May 15, 2024
BOOST_TEST(intersects(Point{0.8f, 0.8f}, x) ==
(std::is_same_v<KDOP_t, KDOP<2, 4>>));
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

No test for intersection with regular 2D box?

Copy link
Contributor Author

@aprokop aprokop May 16, 2024

Choose a reason for hiding this comment

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

Guess I could add it. I'm not sure if it adds much.

Nevermind. Not only it was a good idea, it also uncovered a bug.

@@ -38,8 +100,11 @@ BOOST_AUTO_TEST_CASE_TEMPLATE(intersects_KDOP, KDOP_t, KDOP_types)
BOOST_TEST(!intersects(x, KDOP_t{}));
}

BOOST_AUTO_TEST_CASE_TEMPLATE(intersects_box, KDOP_t, KDOP_types)
BOOST_AUTO_TEST_CASE_TEMPLATE(intersects_kdop_box_3D, KDOP_t, KDOP_3D_types)
Copy link
Contributor

Choose a reason for hiding this comment

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

Note to myself that the ordering kdop_box here is accurate even though at first sight it looked inconsistent with point_kdop below.

@aprokop
Copy link
Contributor Author

aprokop commented May 16, 2024

Ignoring CUDA and SYCL timeouts.

@aprokop aprokop merged commit c4fdba5 into arborx:master May 16, 2024
1 of 2 checks passed
@aprokop aprokop deleted the kdop_2d branch May 16, 2024 17:37
@aprokop aprokop mentioned this pull request Jun 10, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants