-
Notifications
You must be signed in to change notification settings - Fork 41
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
Conversation
BOOST_TEST(intersects(Point{0.8f, 0.8f}, x) == | ||
(std::is_same_v<KDOP_t, KDOP<2, 4>>)); | ||
} | ||
} |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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.
Ignoring CUDA and SYCL timeouts. |
No description provided.