Const
Find the shortest horizontal or vertical lattice rest edge; return Infinity for no structural edge or a mismatched coordinate-array length.
Find the shortest horizontal or vertical lattice rest edge; return Infinity for no structural edge or a mismatched coordinate-array length.