pylbm.elements.Triangle.point_inside

method

Triangle.point_inside(self, grid)

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

Parameters
gridndarray

coordinates of the points

Returns
ndarray

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

Notes

the edges of the triangle are considered as inside.