Skip to content

Ambiguous sorting of convex_hull in 2D #3839

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

Open
schillic opened this issue Apr 16, 2025 · 0 comments
Open

Ambiguous sorting of convex_hull in 2D #3839

schillic opened this issue Apr 16, 2025 · 0 comments
Labels
bug 🐛 Something isn't working

Comments

@schillic
Copy link
Member

convex_hull is supposed to yield the same result in 2D independent of the input sequence, but it does not:

julia> convex_hull([[0.0, 0.0], [0.0, 1.0]])
2-element Vector{Vector{Float64}}:
 [0.0, 0.0]
 [0.0, 1.0]

julia> convex_hull([[0.0, 1.0], [0.0, 0.0]])
2-element Vector{Vector{Float64}}:
 [0.0, 1.0]
 [0.0, 0.0]

Originally posted by @schillic in #3836

@schillic schillic added the bug 🐛 Something isn't working label Apr 16, 2025
@schillic schillic changed the title Incorrect convex_hull in 2D Ambiguous sorting of convex_hull in 2D Apr 17, 2025
@schillic schillic added discussion 🗣️ Requires human input bug 🐛 Something isn't working and removed bug 🐛 Something isn't working discussion 🗣️ Requires human input labels Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant