pub fn translate_detector_coords(
coords: &DetectorCoords,
offset: IVec2,
) -> DetectorCoordsExpand description
Offsets a detector’s first two coordinates by a layout offset, leaving any further coordinates untouched.
pub fn translate_detector_coords(
coords: &DetectorCoords,
offset: IVec2,
) -> DetectorCoordsOffsets a detector’s first two coordinates by a layout offset, leaving any further coordinates untouched.