/// <summary>
 /// Constructor
 /// </summary>
 /// <param name="t">A tuple returned by the CLR wrapper.</param>
 public Cell(Tuple <int, int, bool, bool, List <long>, bool, short> t)
 {
     Index           = t.Item1;
     Site            = t.Item2;
     ContainsPoint   = t.Item3;
     ContainsSegment = t.Item4;
     EdgesIndex      = t.Item5;
     IsOpen          = t.Item6;
     SourceCategory  = (CellSourceCatory)t.Item7;
 }
 public Cell(Tuple <long, long, short, Tuple <bool, bool, bool, bool>, List <long>, List <long> > t)
 {
     Index           = t.Item1;
     Site            = t.Item2;
     SourceCategory  = (CellSourceCatory)t.Item3;
     ContainsPoint   = t.Item4.Item1;
     ContainsSegment = t.Item4.Item2;
     IsOpen          = t.Item4.Item3;
     IsDegnerate     = t.Item4.Item4;
     EdgesIndex      = t.Item5;
     VerticesIndex   = t.Item6;
 }