I want to determine whether a point is inside a circle or not. So I do this :
(x - center_x)^2 + (y - center_y)^2 < radius^2
But my coordinates are double
and I think I should do it with epsilon, so is
fabs ((x - center_x)^2 + (y - center_y)^2 - radius^2 ) < EPS
better?