powered by
Shelf packing algorithm for packing rectangles in a bin.
shelf_pack(m)
A matrix of vertices for the rectangles.
A list with new vertices and the new order of the rectangles.