Defines functions patches_for_each_direction

Documented in patches_for_each_direction

#' Function for gathering the patches for each direction
#' This function will gather the patches in each of the 8 bins and ready it for
#' patches_for_each_direction()
#' @param indexed_pairs Pairs of touching faces

patches_for_each_direction <- function(indexed_pairs){
clusterlist <- list()

for (i in names(indexed_pairs)){
	direction <- indexed_pairs[[as.character(i)]]
	clusterlist[[as.character(i)]] <- clustered_patches(direction)


Try the molaR package in your browser

Any scripts or data that you put into this service are public.

molaR documentation built on March 13, 2020, 3:14 a.m.