コード例 #1
0
 public ComplexPoly(IPoly poly, IPoly[] holes)
 {
     Debug.Assert(poly.Holes.Length == 0, "Outline can not have holes");
     Debug.Assert(holes.All(p => p.Holes.Length == 0), "Holes can not have holes");
     Holes = holes;
     _poly = poly;
 }