pylbm.elements.Ellipse.point_inside

method

Ellipse.point_inside(self, grid)

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

Parameters
gridndarray

coordinates of the points

Returns
ndarray

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

Notes

the edge of the ellipse is considered as inside.