binpacker3d

This crate solves the problem of "fitting smaller boxes inside of a larger box" using a three dimensional fitting algorithm.

The algorithm leverages a First Fit Decreasing greedy strategy, which some rotational optimizations.

Usage:

```rust use binpacker3d::bin::Bin; use binpacker3d::item::Item; use binpacker3d::packingalgorithm::packingalgorithm;

let deck = Item::new("deck", [2.0, 8.0, 12.0]);
let die = Item::new("die", [8.0, 8.0, 8.0]);
let items = vec![deck.clone(), deck.clone(), die, deck.clone(), deck];

let packed_items = packing_algorithm(Bin::new([8.0, 8.0, 12.0]), &items);
assert_eq!(packed_items, Ok(vec![vec!["deck", "deck", "deck", "deck"], vec!["die"]]));

```

Limitations:

This algorithm solves a constrained version of the 3D bin packing problem. As such, we have the following limitations:

Acknowledgements:

The algorithm leverages a rotational optimization when packing items which are less than half the length of a bin's side, as proposed in the paper titled "The Three-Dimensional Bin Packing Problem" (Martello, 1997): https://www.jstor.org/stable/pdf/223143.pdf, page 257