pylbm.elements.CylinderEllipse.point_inside

method

CylinderEllipse.point_inside(grid)

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

Parameters:
gridndarray

coordinates of the points

Returns:
ndarray

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

Notes

the edge of the cylinder is considered as inside.