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); }
public WirePart(WireSpot a, WireSpot b) { A = a; B = b; }