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

Smart routers: Ends of the route are offset by a step away from padding box #1030

Open
zbynekstara opened this issue Jan 18, 2019 · 0 comments
Labels

Comments

@zbynekstara
Copy link
Contributor

Both the manhattan and metro routers receive an extra offset at the beginning/end of the route (as large as one step unit). This is on top of any padding specified.

The offset is added by the getRectPoint function because of the way we use the config.directions array to control turns in the route.

@zbynekstara zbynekstara changed the title Smart routers: Ends of the route is offset by a step away from paddingBBox Smart routers: Ends of the route are offset by a step away from padding box Jan 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant