Skip to content

avaneev/areafitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

areafitter

Rectangle Area Fitter, Fit Multiple Rectangle Areas Into Several Larger Rectangles

This algorithm can optimally fit a number of small rectangles into one or more larger rectangles. The algorithm works iteratively for the specified number of iterations. The algorithm was designed in a way to provide a better fit at the initial iterations, further iterations usually improve the result by a small margin only.

You can specify rectangle width, height and area constraints.

See the example.cpp file for a basic usage example.

About

Fit Multiple Smaller Rectangles Into Larger Rectangles or Images - Iterative Permutational Optimization Method

Topics

Resources

License

Stars

Watchers

Forks

Languages