Skip to content

Preserve near-pancake vertices in Path64 unions - #1113

Open
mikamikasuki wants to merge 1 commit into
AngusJohnson:mainfrom
mikamikasuki:fix/clipper2-1111-right-join-tolerance
Open

mikamikasuki wants to merge 1 commit into
AngusJohnson:mainfrom
mikamikasuki:fix/clipper2-1111-right-join-tolerance

Conversation

@mikamikasuki

Copy link
Copy Markdown

Fixes #1111.

CheckJoinRight allowed a larger perpendicular distance than CheckJoinLeft (0.35 vs. 0.25). This let the reported near-pancake geometry be treated as an approximate join and dropped a valid input vertex. Use the same 0.25 cutoff on both sides, matching the C# implementation.

Add a regression test using the issue's Path64 geometry.

Validation: all 98 CTest cases passed for both the regular and USINGZ C++ test binaries.

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.

Incorrect result in Path64 union

1 participant