-
Notifications
You must be signed in to change notification settings - Fork 3
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
increase GetNormal precision #6
Conversation
There is an old test - DoNotGetNegativeNormal (NormalTests.cs) - that will break any PR. |
looks like a pretty normal polygon in that testcase. I'm wondering what could be the issue with it. Maybe something with exterior ring order.
|
The normal is |
Oh... sorry! Just stupid evening ))
The problems are in the serialization and in |
Have you a sample wkt where this method gives better results? |
No, only screenshots that demonstrate an increase in accuracy and image quality when calculating models with very small details. |
I just check NettopologySuite, there is an existing normal calculation that averages and uses double precision, maybe we can get some inspiration from there
|
Yes, it's more elegant. |
looks nice this way, I've fixed the tests. have to do some testing in my tools, does it give good results for you? |
Yes, everything is working fine now. No any problems with calculation accuracy. |
Thanks I've published 1.3.1 with these changes |
No description provided.