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

Possible bug in TryResolve function #353

Open
Martinnqn opened this issue May 17, 2022 · 0 comments
Open

Possible bug in TryResolve function #353

Martinnqn opened this issue May 17, 2022 · 0 comments

Comments

@Martinnqn
Copy link

Hi, I would like to ask about the behavior of tryResolve. I try to connect routes less than 50 meters of distance. Sometimes the router returns the correct routerPoint, but other times it returns the wrong routerPoint. Next I add the images of the routes that I want to connect:

imagen

After getting the routerPoints, I see that tryResolve returned a routerPoint with a distance of more than 50 meters. In the following image, you can see a correct routerPoint in green, and a bad routerPoint in blue. The white circle indicates where the blue routerPoint would expect to connect.

imagen

If I modify the original route a bit, the found routerPoint is the correct one.
Modified route:
imagen

Correct routerPoints:
imagen

Is there something I'm missing about routerPoints, or is it maybe a bug?

Thank you!

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