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

The polygons are not arranged #35

Open
ghost opened this issue Apr 28, 2021 · 1 comment
Open

The polygons are not arranged #35

ghost opened this issue Apr 28, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 28, 2021

Hello! Thanks for your library.
I generate a series of poygons at random, and the polygons can be drawn on a widget with Qt. I can also output the vertexes with the function Item::toString. However, the number of bins that used is always zero, The result polygons' postion also haven't been changed. What the mistake I make.
Here is the output
info1
Here is the polygons I generate
info2
Here is the screenshoot of code
info3

@tamasmeszaros
Copy link
Owner

Check the input, make sure that: all polygons are oriented clockwise and the first vertex is identical to the last vertex.

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

1 participant