sknano.core.geometric_regions.Circle.contains¶
-
Circle.
contains
(point)[source][source]¶ Test region membership of point in
Circle
.Parameters: point : array_like
Returns: 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:
(px−h)2+(py−k)2≤r2