Copyright (c) 2012 Kevin Wellwood
All rights reserved.
This source code is distributed under the Modified BSD License. For terms and
conditions, see license.txt.
A Bin represents a rectangular 2D space that can be filled with smaller
2D rectangles. Each rectangle added to the bin via Insert() receives a
location in the bin where it resides, according to the bin packing
algorithm. This class uses the MAXRECTS bin packing algorithm with the
BSSF (Best Short Side Fit) heuristic.