Repository navigation
Conversation
|
Thanks for the PR. |
sure, both inputs are valid, I added the calls in the repro example. |
|
Thanks for the PR! This does not reproduce on #1517 for me, so we may already have a fix currently under review. |
barendgehrels
left a comment
There was a problem hiding this comment.
Thanks again for the PR.
In the meantime #1517 is merged, which contains the same fix (nearly identical) in select_rings.hpp, dated from September 9
So with current develop your case gives area 8600 and a valid result.
The test case is still valuable. Could you rebase on develop, keeping only case_hole_touching_at_vertex?
198e86f to
d9350e6
Compare
Sure, just rebased on itself keeping only the test case. |
There was a problem hiding this comment.
Thanks for the quick update. Because the fix is already merged, I'm in favor of merging this. I think, the conflict can be resolved via web editor by chosing "Accept both" (the editor shows the merge to be towards your repo, so I think it requires you to do it).
Edit: Thanks, will merge after CI completes.
This is a ai-aided fix on a case I ran into:
if the point of the ring checked is on the boundary of the other geometry, the other points of the same ring are checked (not those of the whole input, which can be located elsewhere).
Reproduction
A hole of A lies inside B and touches B at one vertex, (10 10):
I added the corresponding test too in the test suite.
Let me know if you need me to also create an issue about this problem or if this PR is ok as is.