Skip to content
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

Intersection of polygons with double coordinate type doesn't work #71

Open
theoldestsc opened this issue Nov 17, 2021 · 1 comment
Open

Comments

@theoldestsc
Copy link

https://godbolt.org/z/v7exo37sP - this is an example of intersection custom polygons with a double data type.
https://godbolt.org/z/9n8We6eqb - example with your polygons

You can see that if i change coordinate type to double i can't get any intersections

@mpnunez
Copy link

mpnunez commented Jun 10, 2022

Coordinate types need to be integral, not float: https://www.boost.org/doc/libs/1_79_0/libs/polygon/doc/gtl_coordinate_concept.htm.

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

No branches or pull requests

2 participants