Skip to content
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

the EPSILON value is not exported in the python/cython version #107

Open
GoogleCodeExporter opened this issue Aug 6, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

1. in python/cython version, trying to filter points that are closest than 
EPSILON before sending to poly2tri.
2. EPSILON is not exported from the lib. 


What is the expected output? What do you see instead?
Expected to have a read-only value for EPSILON.
A bad guess for EPSILON will either cause a crash if it's too low or will be to 
restrictive if it's too high.


What version of the product are you using? On what operating system?
Ubuntu 14.04 / Python 2.7 




Original issue reported on code.google.com by [email protected] on 5 May 2015 at 9:37

@GoogleCodeExporter
Copy link
Author

For the Java version I picked the EPSILON 1e-12 assuming input points would be 
in the range -1 to 1.

For decent robustness they should also be rounded to 10 decimals.


Original comment by [email protected] on 5 May 2015 at 2:56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant