Previously we tried to be cheeky and cut some corners by implementing “Andrew’s Monotone Chain Convex Hull Algorithm” without sorting points. However, turns out we need to sort as we did run into some edge cases where this wouldn't work.
CURA-11395
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
How Has This Been Tested?
yes
Test Configuration:
Operating System: MacOS 13.3
Checklist:
[x] My code follows the style guidelines of this project as described in UltiMaker Meta
Description
Previously we tried to be cheeky and cut some corners by implementing “Andrew’s Monotone Chain Convex Hull Algorithm” without sorting points. However, turns out we need to sort as we did run into some edge cases where this wouldn't work.
CURA-11395
Type of change
How Has This Been Tested?
yes
Test Configuration:
Checklist: