Example #1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="Other">Other polygon to set this to.</param>
 public C2DHoledPolyArc(C2DHoledPolyArc Other)
 {
     _Rim = new C2DPolyArc(Other.Rim);
     for (int i = 0; i < Other.HoleCount; i++)
     {
         _Holes.Add(new C2DPolyArc(Other.GetHole(i)));
     }
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="Other">Other polygon to set this to.</param> 
 public C2DHoledPolyArc(C2DHoledPolyArc Other)
 {
     _Rim = new C2DPolyArc(Other.Rim);
     for (int i = 0; i < Other.HoleCount; i++)
     {
         _Holes.Add(new C2DPolyArc(Other.GetHole(i)));
     }
 }
Example #3
0
 /// <summary>
 /// Assignment.
 /// </summary>
 /// <param name="Other">Other polygon to set this to.</param>
 public void Set(C2DHoledPolyArc Other)
 {
     _Rim.Set(Other.Rim);
     _Holes.Clear();
     for (int i = 0; i < Other.HoleCount; i++)
     {
         _Holes.Add(new C2DPolyArc(Other.GetHole(i)));
     }
 }
 /// <summary>
 /// Assignment.
 /// </summary>
 /// <param name="Other">Other polygon to set this to.</param> 
 public void Set(C2DHoledPolyArc Other)
 {
     _Rim.Set(Other.Rim);
     _Holes.Clear();
     for (int i = 0; i < Other.HoleCount; i++)
     {
         _Holes.Add(new C2DPolyArc(Other.GetHole(i)));
     }
 }