-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
BUG: spatial/qhull: get HalfspaceIntersection.dual_points from the correct array #10503
Conversation
cc @haudren |
Very interesting bug. I must say I never used that feature extensively, I was mostly interested in getting the intersection points for my use cases (in any order). It's been a while since I touched that code, so I don't have any comments to add, thanks for fixing this! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this!
…rrect array Qhull stores half-space intersection points in the `points` array, which gives the canonical ordering for the dual hull points. The order of points in `vertex_list` may be permuted, and should not be used here.
Hello! Are there any plans to merge this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm back on my computer, looks good to me :)
@ilya-palachev: yes, but there's time to next release. If you need it now, |
OK, thank you @pv ! |
Qhull stores half-space intersection points in the
points
array, whichgives the canonical ordering for the dual hull points.
qhalf Hx,y o
indeedprints exactly these points.
The order of points in
vertex_list
may be permuted, and should not beused here.
Fixes gh-10501