Skip to content

Use visitor to access way geometry - #2321

Closed
otbutz wants to merge 4 commits into
graphhopper:masterfrom
otbutz:geom_visitor
Closed

otbutz wants to merge 4 commits into
graphhopper:masterfrom
otbutz:geom_visitor

Conversation

@otbutz

@otbutz otbutz commented May 14, 2021

Copy link
Copy Markdown
Contributor

As discussed in #2320

if (reverse) {
index = (count-1) * pointOffset;
pointOffset = (-1) * pointOffset;
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The old code reversed the resulting List. Here we just iterate in reverse direction.

@otbutz

otbutz commented May 28, 2021

Copy link
Copy Markdown
Contributor Author

Closing in favor of #2327 + #2326

@otbutz otbutz closed this May 28, 2021
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

Successfully merging this pull request may close these issues.

1 participant