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

Polygon triangulation supports collinear vertices #2034

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

lucas-flexcompute
Copy link
Collaborator

This is a fix for our ear clipping triangulation algorithm to work with polygons with collinear vertices.
It also adds a safeguard in the main loop to error if no progress is made, so that we don't get stuck jobs due to numerical issues.

CHANGELOG.md Outdated Show resolved Hide resolved
Signed-off-by: Lucas Heitzmann Gabrielli <[email protected]>
@momchil-flex
Copy link
Collaborator

Awesome btw tested that this un-stucks the problematic sim! You probably did as well but I verified.

Signed-off-by: Lucas Heitzmann Gabrielli <[email protected]>
@lucas-flexcompute lucas-flexcompute merged commit 7abdfc8 into develop Oct 25, 2024
15 checks passed
@lucas-flexcompute lucas-flexcompute deleted the lucas/fix/triangulation branch October 25, 2024 11:31
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.

3 participants