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

Buffer fails because a start turn is discarded #1359

Open
barendgehrels opened this issue Jan 5, 2025 · 0 comments
Open

Buffer fails because a start turn is discarded #1359

barendgehrels opened this issue Jan 5, 2025 · 0 comments
Assignees
Labels

Comments

@barendgehrels
Copy link
Collaborator

With this wkt:
MULTIPOLYGON(((2 8,2 9,3 8,2 8)),((7 1,7 2,8 1,7 1)),((5 2,5 3,6 2,5 2)),((2 2,2 3,3 3,2 2)),((1 3,1 4,2 4,1 3)),((6 4,6 5,7 4,6 4)),((9 8,8 8,9 9,9 8)),((9 8,9 7,8 7,9 8)))

And with miter, buffer distance 1.0 (as in recursive_polygons_buffer.cpp where this case comes from)

There is one turn discarded because it is a start turn.

See next picture, turn 0 is discarded because of 1 - but it should not.

Image
@barendgehrels barendgehrels self-assigned this Jan 5, 2025
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