discretize.TreeMesh.get_cells_on_plane#
- TreeMesh.get_cells_on_plane(self, origin, normal)#
Find the indices of cells that intersect a plane.
- Parameters:
- origin(
dim
) array_like - normal(
dim
) array_like
- origin(
- Returns:
numpy.ndarray
of
int
The indices of cells which intersect the plane.