Function: getSlabAxisBound()
getSlabAxisBound(
slab,axis,bounds,fixed?):Point2|null
The inclusive range along axis that could contain any qualifying voxel,
given that the other two axes are confined to bounds.
Used to tighten the outer and row loops so they do not sweep the whole volume for a thin oblique slab. This is a bound rather than an exact answer: an index inside it may still turn out to hold no voxels, but no index outside it can hold any.
Parameters
• slab: IndexSpaceSlab
• axis: 0 | 1 | 2
• bounds: BoundsIJK
• fixed?
• fixed.axis?: 0 | 1 | 2
• fixed.index?: number
Returns
Point2 | null