skyline_pack function

Skyline packing algorithm

Skyline packing algorithm

skyline_pack(m)

Arguments

  • m: a matrix of vertices for the rectangles

Returns

A matrix with updated vertices for the rectangles.