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

Fix buffer fillet generation to avoid extra segments #526

Merged
merged 2 commits into from
Mar 23, 2020

Conversation

dr-jts
Copy link
Contributor

@dr-jts dr-jts commented Mar 23, 2020

Original report: GEOS 743

Due to numeric precision roundoff, it can happen that for large quadrant segment values an extra segment is generated in the buffer fillet curve. This is most obvious when computing point buffers.

This fixes the fillet algorithm to be insensitive to numeric roundoff.

Signed-off-by: Martin Davis mtnclimb@gmail.com

Signed-off-by: Martin Davis <mtnclimb@gmail.com>
Signed-off-by: Martin Davis <mtnclimb@gmail.com>
@dr-jts dr-jts merged commit 9f2e498 into locationtech:master Mar 23, 2020
@dr-jts dr-jts deleted the fix-buffer-extra-segments branch March 23, 2020 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant