rmf_extent: Obtain the corners and bounding box of the MODFLOW grid

View source: R/spatial.R

rmf_extentR Documentation

Obtain the corners and bounding box of the MODFLOW grid

Description

Obtain the corners and bounding box of the MODFLOW grid

Usage

rmf_extent(dis, prj = rmf_get_prj(dis))

Arguments

dis

RMODFLOW dis object

prj

optional RMODFLOW prj object

Value

a list with (1) the coordinates of the grid corners as a data.frame and (2) the bounding box of the grid as a sf bbox object

Examples

dis <- rmf_create_dis()
prj <- rmf_create_prj(origin = c(152082, 168000.2), rotation = -12, crs = 31370)
rmf_extent(dis, prj)


rogiersbart/RMODFLOW documentation built on Jan. 14, 2023, 4:21 a.m.