private void TallyEncs() { Osub subsegloop = default(Osub); subsegloop.orient = 0; foreach (var seg in mesh.subsegs.Values) { subsegloop.seg = seg; // If the segment is encroached, add it to the list. CheckSeg4Encroach(ref subsegloop); } }