10 Apr
2014
10 Apr
'14
5:56 a.m.
Ingo Brückl wrote:
2. How can floating point and atan2 issues be overcome to determine whether two points x0,y0 and x1,y1 have virtually the same radian?
It seems that 0.05 (approx. pi/60) is a reasonable threshold even for small images and pixels near the center.
I think, that'd be OK. Or try 1E-8, the epsilon value for a float. Hans-Dieter