-
Notifications
You must be signed in to change notification settings - Fork 1.5k
AABB: Fixing 2D closest point for circles #8891
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
base: master
Are you sure you want to change the base?
AABB: Fixing 2D closest point for circles #8891
Conversation
…plementation in Do_intersect_3
…inclusion as intersection
Filtered_kernel/include/CGAL/Filtered_kernel/internal/Static_filters/Do_intersect_2.h
Outdated
Show resolved
Hide resolved
as the intersection with inclusion function has been included into AABB_traits_2.h
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 that the added function is not filtered, that is plain floating point computation is used for the evaluation. It is not "worse" that constructing the radius of the circle I guess. A proper fix would also be needed in 3D for the radius too. So maybe it's fine for 6.1 but we should consider opening an issue to track and fix this once for all.
Summary of Changes
AABB_tree::closest_point()
for circles may provide wrong points if a certain hints are provided.See https://gist.github.com/MaelRL/3d33fa83f0eea80c94da0966bb425f3a
do_intersect_circle_iso_rectangle_2()
considers inclusion not as in intersectionRelease Management