pub fn apply_triangular_crossing_gadgets(
grid: &mut MappingGrid,
copylines: &[CopyLine],
spacing: usize,
padding: usize,
) -> Vec<TriangularTapeEntry>Expand description
Apply all triangular crossing gadgets to resolve crossings. Returns the tape of applied gadgets.
This matches Julia’s apply_crossing_gadgets! which iterates ALL pairs (i,j)
and tries to match patterns at each crossing point.