/// <summary> /// Copy constructor that duplicates a polygon. /// </summary> public PolyDefault(PolyDefault poly) : this(poly.isHole) { // Copy the contents of the array for (int i = 0; i < poly.InnerPolygonCount; i++) { // Copy this polygon IPoly ip = poly.GetInnerPoly(i); m_List.Add(ip.Duplicate()); } }