Sample a 3D volume at the given voxel coordinates using trilinear interpolation.
vol.sample.trilinear(volume_data, coords)numeric vector, one interpolated value per query point.
numeric 3D array, the volume data.
numeric matrix with 3 columns and one row per query point, the 0-based voxel coordinates (column, row, slice). Coordinates must be within the volume, or an error will be raised.