discretize.TreeMesh.get_overlapping_cells

TreeMesh.get_overlapping_cells(self, rectangle)

Find the indicis of cells that overlap the given rectangle

Parameters
rectangle: (dim * 2) array_like

array ordered [x_min, x_max, y_min, y_max, (z_min, z_max)] describing the axis aligned rectangle of interest.

Returns
list of int

The indices of cells which overlap the axis aligned rectangle.