Example #1
0
 private void AddToTheRightGroup(ref BBox b1, ref int count1, int lp, ref int rp, ObjectWithBox g)
 {
     Swap(lp, rp);
     rp--;
     b1.Add(g.Box);
     count1++;
 }
Example #2
0
 private static void AddToTheLeftGroup(ref BBox b0, ref int count0, ref int lp, ObjectWithBox g)
 {
     lp++;
     count0++;
     b0.Add(g.Box);
 }