Exemple #1
0
 public Wire(WireSpot[] spots, WirePart[] parts)
 {
     // copy the arrays to avoid contamination later on.
     Spots = new WireSpot[spots.Length];
     Array.Copy(spots, Spots, spots.Length);
     Parts = new WirePart[parts.Length];
     Array.Copy(parts, Parts, parts.Length);
 }
Exemple #2
0
 public WirePart(WireSpot a, WireSpot b)
 {
     A = a;
     B = b;
 }