Packs items into a single box. Functional port of BoxPacker's VolumePacker. Tries both
box footprint rotations (unless single-pass or the item set forbids rotation) and each
special first-item orientation, returning the permutation that packs the most (an exact
full pack short-circuits; otherwise highest volume utilisation).
Summary
Functions
Pack items into box. opts: single_pass? (default false), strict_ordering?
(default false). Returns a PackedBox (items that don't fit are simply absent).
Functions
@spec pack(ExBoxPacker.Box.t(), [ExBoxPacker.Item.t()], keyword()) :: ExBoxPacker.Result.PackedBox.t()
Pack items into box. opts: single_pass? (default false), strict_ordering?
(default false). Returns a PackedBox (items that don't fit are simply absent).