discretize.TreeMesh.get_cells_in_triangle#

TreeMesh.get_cells_in_triangle(self, triangle)#

Find the indices of cells that intersect a triangle.

Parameters:
triangle(3, dim) array_like

The three points of the triangle.

Returns:
numpy.ndarray of int

The indices of cells which overlap the triangle.