static Section Merged(Section s1, Section s2) { return new Section { StartSS = s1.StartSS, EndSS = s2.EndSS, iStart = s1.iStart, iEnd = s2.iEnd, LengthPx = s1.LengthPx + s2.LengthPx, AngleMod8 = AngleMod8(s2.EndSS.Sub(s1.StartSS)) }; }