Skip to content
Discussion options

You must be logged in to vote

if you have many spheres vs only 2 cubes, I would simply add a filter test using bboxes of the cubes + the sphere before doing the test.
Something like CGAL::do_overlap(sphere.bbox(), cube1.bbox()) (storing the bboxes into local object to avoid rebuiding them again and again of course).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@krober10nd
Comment options

@sloriot
Comment options

@krober10nd
Comment options

Answer selected by krober10nd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants