compute the intersection of the vertex raster