function getReadOffset(dimensions, y, z) {
  const voxelsPerInputSlice = dimensions.y * dimensions.x;
  const sliceIndex = z;
  const rowIndex = y;
  return sliceIndex * voxelsPerInputSlice + rowIndex * dimensions.x;
}
Get the offset into the data array for a given row of contiguous voxel data.

@param {Cartesian3} dimensions The number of voxels in each dimension of the tile.
@param {number} y The y index of the voxel row
@param {number} z The z index of the voxel row
@returns {number} The offset into the data array
@private