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

Solution failed #33

Closed
AnLinkSoft opened this issue Apr 25, 2021 · 3 comments
Closed

Solution failed #33

AnLinkSoft opened this issue Apr 25, 2021 · 3 comments

Comments

@AnLinkSoft
Copy link

polygon [(0.0, 0.0), (-2.136, -1.71), (1.273, -7.556), (2.713, -6.518)]
start (2.713, -6.518)
end (-2.136, -1.71)

@jannikmi
Copy link
Owner

Since the points you provide as start and end points are also vertices of the polygon, the output is undefined.
It is unclear if polygon vertex lies outside or inside of a polygon and hence also weather a path from one to the other should be possible.
Does that help? Feel free to reopen the issue.

@AnLinkSoft
Copy link
Author

So can we assume that these points are inside the polygon?
Else we can't get a solution for that situation.

@jannikmi
Copy link
Owner

jannikmi commented Apr 26, 2021

Good idea. I am not sure any more if there were any reasons for me not to implement it in this way in the first place.
Feel free to create a merge request addressing #35

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