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

Problem with intersection #109

Open
Rusanimal opened this issue Oct 23, 2019 · 4 comments
Open

Problem with intersection #109

Rusanimal opened this issue Oct 23, 2019 · 4 comments

Comments

@Rusanimal
Copy link

Hello. I have a problem with polygon intersections.
Normal
изображение
Bad
изображение
Bad
изображение
Coordinates of one point change.
Did I get a bug or is it some kind of feature?

@Rusanimal
Copy link
Author

изображение
The problem with the line. If divided, it works correctly

@rowanwins
Copy link
Collaborator

It will be hard to debug without coordinates @Rusanimal - any chance you could supply some?

@Rusanimal
Copy link
Author

Hello, i add files with other example.
test.txt
test2.txt

@rowanwins
Copy link
Collaborator

There is a note somewhere in the Martinez paper that the algorithm doesn't like inputs that have overlapping segments, which your inputs do...

I'm not sure if there is a way around this limitation - can you try out the polygon-clipping library and see if that is able to give a result?

screenshot-github com-2020 01 09-09_15_58

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