Clip a single segment to the nD slice and return interpolation parameters.
Returns [visible, t1, t2] where:
MED-20: pass workspace (length >= ndim) to avoid per-call Uint8Array allocation in hot loops; the buffer is zeroed by this function before use.
workspace
Optional
Clip a single segment to the nD slice and return interpolation parameters.
Returns [visible, t1, t2] where:
MED-20: pass
workspace(length >= ndim) to avoid per-call Uint8Array allocation in hot loops; the buffer is zeroed by this function before use.