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