pylbm.elements.Circle.point_inside

method

Circle.point_inside(grid)

return a boolean array which defines if a point is inside or outside of the circle.

Parameters:
gridndarray

coordinates of the points

Returns:
ndarray

Array of boolean (True inside the circle, False otherwise)

Notes

the edge of the circle is considered as inside.