boxcoords.from.bbox: Compute the coordinates of the 8 corners of a 3D box.
Description
Given the extreme values (min and max) along the 3 axes, compute the coordinates of the 8 corners of a 3D box.
Usage
boxcoords.from.bbox(axes_min, axes_max)
Value
numerical matrix with 3 columns and 8 rows, the edge coordinates
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