Skip to content

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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

soesau
Copy link
Member

@soesau soesau commented May 14, 2025

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 intersection

Release Management

  • Affected package(s): Filtered_kernel, Intersections_2

soesau added 2 commits May 16, 2025 09:09
as the intersection with inclusion function has been included into AABB_traits_2.h
@MaelRL MaelRL added the Not yet approved The feature or pull-request has not yet been approved. label May 16, 2025
Copy link
Member

@sloriot sloriot left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Not yet approved The feature or pull-request has not yet been approved. Pkg::AABB_tree Under Testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants