Crate rectangle_pack

source ·
Expand description

rectangle-pack is a library focused on laying out any number of smaller rectangles (both 2d rectangles and 3d rectangular prisms) inside any number of larger rectangles.

Structs

  • A rectangular section within a target bin that takes up one or more layers
  • Groups of rectangles that need to be placed into bins.
  • Describes how and where an incoming rectangle was packed into the target bins
  • A rectangle that we want to insert into a target bin
  • Information about successfully packed rectangles.
  • A bin that we’d like to play our incoming rectangles into

Enums

Functions

Type Aliases