-
Notifications
You must be signed in to change notification settings - Fork 193
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
Boost difference issue #4804
Comments
Thanks for reporting @ggartside I think we should open an issue with https://github.com/boostorg/geometry is this is bug associates with boost. |
@tijcolem I think I may have found a solution for this. I was reading through a similar bug report on boost geometry repository, boostorg/geometry#1034 In this bug report the developer replied to the initial report as follows
My reading of this is that their coordinates are rounded to an integer value, integer grid, and if he had scaled the input values by 10, effectively increasing the resolution of the integer grid, and achieved a better result by doing that and given that all our input values are in meters and so are relatively small numbers, why not try scaling the input values by 1000 to make them millimeters? So I tried that and scaled the coordinates up in |
Issue overview
[
[
[4.572, 0, 0],
[0, 0, 0],
[0, 0.3048, 0],
[4.572, 0.304799, 0],
],
[
[-13.4112, 0.3048, 0],
[5.1816, 0.3048, 0],
[5.1816, 0, 0],
[-10.668, -2.66454e-15, 0],
],
]
Subtracting the first polygon from the second results in of 0 polygons
Input polygons:
Current Behavior
The subtraction results in 0 polygons
Expected Behavior
Expected result:
Steps to Reproduce
Possible Solution
Details
Environment
Some additional details about your environment for this issue (if relevant):
Context
The text was updated successfully, but these errors were encountered: