rectangle_pack

Function 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.