-
Notifications
You must be signed in to change notification settings - Fork 6
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
Invalid convex_hull
when points are repeated
#109
Comments
convex_hull
when points are repeatedconvex_hull
when points are repeated
For context, I was looking at depending on DelaunayTriangulation.jl in GeometryOps for some triangulation tasks. All geographic polygons must have |
Hm. I didn't really intend to support duplicate points anywhere - in fact, I thought this function also would throw a unique!(i -> get_point(points, i), insertion_order) in |
Yep, that works! I can perform that check locally, but it would make sense to place that here as well. It could also be controlled by a keyword argument if that's desired for performance. |
Probably don't need to bother with a keyword, I don't think it'll slow things down too much. If you're able to, would you mind making a PR with that change in the |
Will get a PR up by tomorrow! |
Is this something you still need @asinghvi17? |
Yes! Sorry, I lost track of this and forgot to push the PR. |
No worries, there's no rush. I just happened to remember about it today so thought I'd check in. Thanks. |
Should now be fixed once v1.0.4 is released |
Consider the following MWE:
The text was updated successfully, but these errors were encountered: