© 2026 Hedgehog Software, LLC
if (Segments[i].Type is not SegmentType.Junction or SegmentType.Tail)
if(Segments[i].Type != SegmentType.Junction && Segments[i].Type != SegmentType.Tail))