boxcoords.from.bbox: Compute the coordinates of the 8 corners of a 3D box.

Description Usage Arguments Value

View source: R/vis_volume.R

Description

Given the extreme values (min and max) along the 3 axes, compute the coordinates of the 8 corners of a 3D box.

Usage

1
boxcoords.from.bbox(axes_min, axes_max)

Arguments

axes_min

numerical vector of length 3, the min values of the 3 axes

axes_max

numerical vector of length 3, the max values of the 3 axes

Value

numerical matrix with 3 columns and 8 rows, the edge coordinates


fsbrain documentation built on May 12, 2021, 5:06 p.m.