pylbm.elements.Parallelogram.point_inside

method

Parallelogram.point_inside(self, grid)

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

Parameters
gridndarray

coordinates of the points

Returns
ndarray

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

Notes

the edges of the parallelogram are considered as inside.