sknano.core.geometric_regions.Circle.contains

Circle.contains(point)[source][source]

Test region membership of point in Circle.

Parameters:

point : array_like

Returns:

bool

True if point is within Circle, False otherwise.

Notes

A point \((p_x, p_y)\) is within the bounded region of a circle with center \((h, k)\) and radius \(r\) if the following is true:

\[(p_x - h)^2 + (p_y - k)^2 \le r^2\]