is_inside (method)

is_inside(self, vertice, point, normal_t=None)[source]

Check if a point is inside the cell defined by the vertices.

Parameters
  • self (RefTriangle3) – an RefTriangle3 object

  • vertice (ndarray) – vertices of the cell

  • point (ndarray) – coordinates of the checked point

  • normal_t (ndarray) – (optional) cell normal vector

Returns

is_inside – true if the point is inside the cell

Return type

bool