bbx_slice: Functions for horizontal and vertical slicing of bbx columns...

Description Usage Arguments Value Examples

Description

Functions for horizontal and vertical slicing of bbx columns These functions are not vectorized and should be used to compute

Usage

1
2
3
4
5

Arguments

bbx

string or character vector of bbx'es

x, y

coordinates to sclice the bouding box at

Value

list of bbx'es appliccable for particular split

Examples

1
2
3
4
5
6
7
bbx_slice_x("0 0 100 200", 80)
bbx_slice_x(c("0 0 100 200", "100 100 200 200"), c(80, 150))

bbx_slice_y("0 0 100 200", 120)
bbx_slice_y(c("0 0 100 200", "100 100 200 200"), c(120,150))
bbx_slice_xy("0 0 100 200", 50, 100)
bbx_slice_xy(c("0 0 100 200", "100,100, 200, 200"), c(50, 150), c(100, 150))

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