Skip to content

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.

2 participants