currently only return centre coords

vaster_boundary(dimension, extent = NULL)

Arguments

dimension

integer ncol, nrow

extent

numeric extent xmin,xmax,ymin,ymax

Examples

vaster_boundary(c(3, 4))
#>       [,1] [,2]
#>  [1,]  0.5  3.5
#>  [2,]  1.5  3.5
#>  [3,]  2.5  3.5
#>  [4,]  2.5  3.5
#>  [5,]  2.5  2.5
#>  [6,]  2.5  1.5
#>  [7,]  2.5  0.5
#>  [8,]  2.5  0.5
#>  [9,]  1.5  0.5
#> [10,]  0.5  0.5
#> [11,]  0.5  0.5
#> [12,]  0.5  1.5
#> [13,]  0.5  2.5
#> [14,]  0.5  3.5