Exemplo n.º 1
0
 public VolumePacker(Box _box, ItemList _items)
 {
     box                   = _box;
     items                 = _items;
     skippedItems          = new List <Item>();
     remainingWeight       = box.MaxWeight - box.EmptyWeight;
     layers                = new List <PackedLayer>();
     orientatedItemFactory = new OrientatedItemFactory(box);
 }
Exemplo n.º 2
0
 public OrientatedItemsComparer(OrientatedItemFactory oif)
 {
     _oif = oif;
 }