Learn R Programming

eulerr (version 3.0.0)

shelf_pack: Shelf packing algorithm for packing rectangles in a bin.

Description

Shelf packing algorithm for packing rectangles in a bin.

Usage

shelf_pack(m)

Arguments

m

A matrix of vertices for the rectangles.

Value

A list with new vertices and the new order of the rectangles.