pylbm.elements.STLElement.point_inside

method

STLElement.point_inside(grid)

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

Parameters
gridndarray

coordinates of the points

Returns
ndarray

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

Notes

the edges of the element are considered as inside.