Skip to main content

output_extent

Function output_extent 

Source
fn output_extent(d: usize) -> usize
Expand description

The output-grid extent for an axis of d voxels: the smallest whole number of output patches (OUT, then one more per SHIFT) that covers it. An axis shorter than one patch gets one patch; the samples past d are edge-padded and cropped away.