Processing math: 100%

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 (px,py) is within the bounded region of a circle with center (h,k) and radius r if the following is true:

(pxh)2+(pyk)2r2