fn find_antinodes_for_pair(
(r1, c1): (usize, usize),
(r2, c2): (usize, usize),
bounds: &(usize, usize),
sequence_modifier: fn(_: Vec<(usize, usize)>) -> Vec<(usize, usize)>,
) -> Vec<(usize, usize)>
Expand description
Fine the antinodes by determining the coordinate delta between two antinodes, extrapolating the line from both ends, applying the SequenceModifier relevant to the part being solved.