Skip to content

Conversation

@wwaltersdavis
Copy link
Contributor

@wwaltersdavis wwaltersdavis commented Dec 7, 2025

  • I agree to follow the project's code of conduct.
  • I added an entry to CHANGES.md if knowledge of this change could be valuable to users.

See #1468

Fix

  • Remove the x coordinate check (this was used to ensure if a corner point was used the boundary_count would only go to 1).
  • Instead set boundary_count = 1 if one is present, so if multiple are found (if a corner coord is provided) still accepted as on boundary

@wwaltersdavis wwaltersdavis changed the title Fix CoordPos for Triangle Fix CoordinatePosition for Triangle Dec 7, 2025
@michaelkirk
Copy link
Member

michaelkirk commented Dec 11, 2025

Thanks for catching this bug!

I made an alternative fix more in the spirit of the original boundary counting like we do elsewhere here:
#1475

If you want the commit, feel free to implement something similar in this PR, and I'd be happy to see that merged instead.

michaelkirk added a commit that referenced this pull request Dec 12, 2025
@wwaltersdavis wwaltersdavis deleted the triangle-coordpos-fix branch December 12, 2025 12:43
github-merge-queue bot pushed a commit that referenced this pull request Dec 15, 2025
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.

2 participants