is_inside (method)

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

Check if a point is inside the cell.

Parameters
  • self (RefSegmentP1) – a RefSegmentP1 object

  • vertice (ndarray) – vertice of the cell

  • point (ndarray) – coordinates of a point

  • normal (ndarray) –

    normal of another cell. Additional facultative criterion.

    Returns

  • -------

  • is_inside (bool) – true if the point is inside the cell