-
Notifications
You must be signed in to change notification settings - Fork 216
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
The result of the difference(A, B, C) intersects() with B but neither overlaps() nor touches(). #1290
Comments
Thanks for opening this issue, I can reproduce it. It seems like a numerical issue. With more precision ( |
What's a good way to handle getting higher precision results from calculations performed with lower precision data? |
As a user you have to create your input geometry with higher precision e.g. |
My version
My output
So yes, it looks like I can reproduce it as well (note that on my mac there is no difference in double/long double types). |
BTW the reason that I checked it again is that I have a concept fix for another recent issue and wanted to check if it would fix this as well. But that is related to the spatial set operations, and not to the predicates. |
Hi,
I obtained the difference between the two rings and found that the result intersects with the original ring, but it neither overlaps nor touches it. I think in the case of intersection,
overlaps(A, B) == !touches(A, B)
.example code:
version: 1.85.0
The text was updated successfully, but these errors were encountered: