ccl_paths: Connected component border cartesian paths.

Description Usage Arguments Details Value See Also

View source: R/RcppExports.R

Description

Connected component grid graph cartesian coordinate paths for each eulerian cycle (outline) for each component.

Usage

1
ccl_paths(m, reverse = FALSE)

Arguments

m

A two dimensional numeric matrix.

reverse

Begin at the minimal column major indexed vertex.

Details

There is a performance hit with 'reverse'.

Value

Nested list of lists of arrays for all outlines of each component such that ccl_paths(mat)[[label]][[id]] yields an array in the form of [ v_1, y_1, x_1, v_2, y_2, x_2, ... , v_1, y_1, x_1].

Each [[label]] index consists of at least 1 path and if the component has holes there is an addition path for each hole.

See Also

ccl_cycles


Thell/ccloutline documentation built on July 10, 2020, 2:46 a.m.