bbx_modify: Functions for updating certain coordinates of bbx These...

Description Usage Arguments Value Examples

Description

Functions for updating certain coordinates of bbx These functions can modify a vector of bbx

Usage

1
bbx_reset(bbx, x1 = NULL, y1 = NULL, x2 = NULL, y2 = NULL)

Arguments

bbx

character vector of bounding boxes to update

x1

scalar or numeric vector to update bbx with

y1

scalar or numeric vector to update bbx with

x2

scalar or numeric vector to update bbx with

y2

scalar or numeric vector to update bbx with

Value

a vector of updated and validated bbxes

Examples

1
bbx_reset(bbx=c("100 100 200 200", "300 400 500 600"), x2=800)

dmi3kno/bbx documentation built on May 14, 2020, 9:08 p.m.