A box together with the items packed into it, plus computed weight, space and
utilisation accessors. Port of BoxPacker's PackedBox.
Summary
Functions
Verify the packing is physically valid: every item is within the box bounds and no two
items overlap. Returns :ok or {:error, reason}.
Types
@type t() :: %ExBoxPacker.Result.PackedBox{ box: ExBoxPacker.Box.t(), items: ExBoxPacker.Result.PackedItemList.t() }
Functions
@spec new(ExBoxPacker.Box.t(), ExBoxPacker.Result.PackedItemList.t()) :: t()
Verify the packing is physically valid: every item is within the box bounds and no two
items overlap. Returns :ok or {:error, reason}.