In general, x
and y
must satisfy (x - center_x)² + (y - center_y)² < radius²
.
Please note that points that satisfy the above equation with <
replaced by ==
are considered the points on the circle, and the points that satisfy the above equation with <
replaced by >
are considered the outside the circle.