Skip to content
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

Fix issue with convex hull #2151

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Fix issue with convex hull #2151

wants to merge 4 commits into from

Conversation

casperlamboo
Copy link
Contributor

Description

For some cases the convex hull produces the incorrect (non-convex) results, see attached screenshot.

Screenshot 2024-10-19 at 08 59 52

In this PR a test case with the exact polygon of the example above is added along with a fix for that polygon.

Bug originally found by @ThomasRahm

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Added a unit test showcasing the issue, with the fix the issue is resolved.

Test Configuration:

  • Operating System:

MacOS 13.3

Checklist:

  • My code follows the style guidelines of this project as described in UltiMaker Meta
  • I have read the Contribution guide
  • I have commented my code, particularly in hard-to-understand areas
  • I have uploaded any files required to test this change

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant