pub fn translate_detector_coords( coords: &SmallVec<[f64; 2]>, offset: IVec2, ) -> SmallVec<[f64; 2]>
Offsets a detector’s first two coordinates by a layout offset, leaving any further coordinates untouched.