ExpandBBox: Expand Bounding box

Description Usage Arguments Details Value

Description

Increases the size of a bounding box by a specified distance

Usage

1
ExpandBBox(geom1, tol)

Arguments

geom1

an R Spatial* object

tol

numeric, distance in kilometers to expand bounding box in all directions (xmin' = xmin - tol, xmax' = xmax + tol)

Details

This is used with link[rcanvec]{nts.bbox} in order to get all NTS tiles that are within the buffer distance of the object

Value

a bounding box R object


ECCC-MSC/Basin-Delineation documentation built on June 9, 2019, 7:29 p.m.