Returns the length and width of a shape. The shape is first aligned using coo_align, then length is the range along the x-axis and the width as the range on the y-axis.

get_lw(x)

get_length(x)

get_width(x)

Arguments

x

coo_single, coo_list or mom_tbl

Value

numeric or additional column

Examples

bot$coo[[5]] %>% get_lw
#> # A tibble: 1 x 2 #> x_range y_range #> <dbl> <dbl> #> 1 886. 287.