Skip to contents

Extracts all diagonals from a 3D array in the FNWBSE direction (front upper left down to back lower right).

Usage

extract_3D_diags(ray)

Arguments

ray

a 3-dimensional array

Value

A list whose elements each represent one diagonal of ray. Each diagonal element is a list of two elements: origin is the 3D coordinates (row, column, depth) of the first element of the diagonal; values is a vector of the diagonal that starts from origin.