get_perim_along(x)

get_perim(x)

get_perim_cumsum(x)

Arguments

x

coo_single, coo_list or mom_tbl

Value

numeric or additional column

Functions

  • get_perim: Calculate total perimeter

  • get_perim_cumsum: Calculate cumsum between successive points of a shape

See also

Other getters: get_nb()

Examples

bot %>% pick(1) %>% get_perim_along()
#> # A tibble: 138 x 1 #> d #> <dbl> #> 1 0 #> 2 21.2 #> 3 11 #> 4 21.2 #> 5 21.2 #> 6 10.2 #> 7 21.4 #> 8 21.1 #> 9 21.2 #> 10 11.2 #> # … with 128 more rows