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

Update orient_polygon_soup.h #8764

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Dhruv-Sharma01
Copy link

Summary of Changes

This pull request fixes an infinite loop in the function duplicate_singular_vertices() in the file Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/orient_polygon_soup.h. The issue was caused by consecutive duplicate vertices in a cycle (degenerate edge at a T-junction). The fix introduces a check to break out of the loop when a consecutive duplicate is detected, thereby preventing the infinite loop.

Release Management

@Dhruv-Sharma01
Copy link
Author

@MaelRL issue #8693 is still unresolved right?

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.

Infinite loop in orient_polygon_soup in a degenerate case
1 participant