function [yesno] = isincircle(x, y, data)

%y = 36.79;
%x = -121.95;
%data = [36.7914                -121.94833                         3];

radius = data(3) * 0.008;

if ( (x - data(2))^2 + (y - data(1))^2 <= radius^2 )
    yesno = 1;
else
    yesno = 0;
end

%fprintf('grid location %f %f, data %f %f, radius %f, result %d\n',y,x,data(1),data(2),radius, yesno);