-
-
Notifications
You must be signed in to change notification settings - Fork 118
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 in DGtal::functions::Hull2D::computeHullThickness #1629
Comments
Thx for the bug report ! |
This is a patch of a fix I was testing locally. I assume it's related to the tolerance of Pi comparison. |
Let me ping @kerautret in my turn! I think he wrote the part about thickness computation. (Note however that MelkmanConvexHull is guaranteed to properly work only with integer points, but not with real points due to possible inexact float comparisons.) |
👍 thx @troussil, I thought it was from you. Looking at the patch, the angle computation is a bit weird for just a sign of a determinant (even if computed on real numbers). @kerautret ? |
Thanks for their report @aramadancs and the patch ! |
any update @kerautret ? thx |
Done #1647 with some updates and including the example in tests. |
The function returns 0 for a convex hull calculated using MelkmanConvexHull. I included the points of the convex hull directly.
The text was updated successfully, but these errors were encountered: