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

Feature Request: a way to cleanup polygons with zero-length segments #31

Closed
adamwong246 opened this issue Mar 18, 2021 · 1 comment
Closed

Comments

@adamwong246
Copy link

I'm having a hard time finding an epsilon that fits my data. How hard would it be to implement something that simply removes zero-length segments from the polygon?

@velipso
Copy link
Owner

velipso commented Mar 18, 2021

I haven't looked at it in a long time, but if I remember correctly, it's not that simple.

The zero-length segments can't simply be ignored, that's just one side effect of a series of bad calculations, based on a bad epsilon.

You might want to try PR #8 which some people have had better luck with.

@velipso velipso closed this as completed Mar 18, 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

No branches or pull requests

2 participants