test for point-circle intersection