-
Notifications
You must be signed in to change notification settings - Fork 54
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: Triangualte with 'a' and small values <10 ** -4 #26
Comments
UPD: in wo80/Triangle#37 C code of Triangle 1.6 was checked and it works fine. The python bindings use the same version, so the problem has to be with python library. |
has to be replaced with
for correct formatting. Otherwise any value below 10 ** -4 will be written in the exponential form. |
I have not updated the version of the triangle C library that the python bindings use. If the problem has been fixed recently, these bindings still use the older version of the code. Maybe it would be a good idea to upgrade to the latest version when I have more time. |
The problem was on my side, but some updates where made in C code indeed. |
I don't think this will be fixed any time soon, the source of the problem is probably in C code. But I want to make others aware of this problem.
Using
triangulate
with parameter 'aX' (which sets a restriction on maximum triangle area) with X - a number <10**-4, the Triangle will fully ignore this argument, and maximum triangle area will be unrestricted.This is quite unexpected, because this means that algorithm will already have problems with triangles of linear size 10**-3-10**-2, which is not that small.
For me this prints
I could reproduce this problem with circular geometry and for objects of different size, also with additional code 'q' the problem remains.
The text was updated successfully, but these errors were encountered: