Beispiel #1
0
 internal void AddEntry([NotNull] Rectangle r, int id)
 {
     ids[entryCount]     = id;
     entries[entryCount] = r.Copy();
     entryCount++;
     if (mbr == null)
     {
         mbr = r.Copy();
     }
     else
     {
         mbr.Add(r);
     }
 }
Beispiel #2
0
 private void Add([NotNull] Rectangle r, int id)
 {
     Add(r.Copy(), id, 1);
     Count++;
 }