R/vaster.R
intersect_extent.Rd
Return the overlapping extent.
intersect_extent(x, dimension, extent = NULL)
extent to intersect
integer ncol, nrow
numeric extent xmin,xmax,ymin,ymax
extent
intersect_extent(c(0.5, 2.3, 1.2, 5), c(10, 5), c(0, 10, 0, 5)) #> [1] 0 3 1 5