add grid.crossesPinnedArea(indices) method.