Repository navigation
fix: verify pk/qk sides in get_turn_info - #1507
Open
barendgehrels wants to merge 1 commit into
Open
barendgehrels wants to merge 1 commit into
barendgehrels wants to merge 1 commit into
Conversation
barendgehrels
force-pushed
the
fix/issue_1506
branch
from
November 12, 2026 06:58
e693050 to
a386a37
Compare
tinko92
approved these changes
Nov 27, 2026
tinko92
left a comment
Collaborator
There was a problem hiding this comment.
I think this change is fine with the current robustness approach of refinement and double checks. I believe my proposed changes in #1520 will obsolete this (in which case these added calls will be unnecessary performance cost) and hope to get a discussion about the generally robust approach going before the next release.
barendgehrels
force-pushed
the
fix/issue_1506
branch
from
November 29, 2026 10:37
a386a37 to
d94edf9
Compare
barendgehrels
force-pushed
the
fix/issue_1506
branch
from
November 29, 2026 13:04
d94edf9 to
6348db9
Compare
Collaborator
Author
|
Rebased it fails on one case, will check later. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1506
In
touch::apply, theside_qi_p1andside_qk_p1were verified, butside_pk_pandside_qk_qwere not.For a nearly collinear vertex, the same triangle could then be classified as collinear in one variable and as left/right in another, depending on the argument order. This made
union(b, a)of two polygons sharing an edge return an empty result.Running the robustness tests for overlay and buffer found that the same fix also fixes 8 cases more (of
945472), and there were no regressions.Three distinct cases are added to the unit test, and the
issue_1506itself is set to the set operation unit test.✅ finding the cause was AI assisted, Claude opus 5.5
A second commit adds release notes for this issue and the recently fixed issues that I merged today