public void Add(CutSegment s) { if (s == null) { return; } if (!Segs.Contains(s)) { s.Index = Segs.Count; s.CH = this; Segs.Add(s); } }
public bool Remove(CutSegment s) { return(Segs.Remove(s)); }