Function rectangle_pack::contains_smallest_box
source · pub fn contains_smallest_box(
container1: [WidthHeightDepth; 3],
container2: [WidthHeightDepth; 3],
heuristic: &BoxSizeHeuristicFn
) -> Ordering
Expand description
Select the container that has the smallest box.
If there is a tie on the smallest boxes, select whichever also has the second smallest box.