sqrt((x - center_x) ** 2 + (y - center_y) ** 2) < r Calculate the distance and check if it is in the radius