rectanglePackingFonctions.cpp File Reference
#include "rectanglePackingFonctions.h"
Include dependency graph for rectanglePackingFonctions.cpp:
Functions
Function Documentation
vector<Rectangle<float> >& RectanglePackingLimitPositions |
( |
vector< Rectangle< float > > & |
v, |
|
|
const char * |
quality, |
|
|
PluginProgress * |
progress |
|
) |
|
|
|
This function is used for packing rectangles. It is used when we want to reduce the complexity restricting the number of tested positions for each rectangle to pack. - Parameters:
-
| v | a vector including the rectangles to pack. |
| quality | give the complexity of the algorithm. |
| progress | pointer on an instance of the PluginProgress class. |
- Returns:
- the vector v whose rectangles have had their co-ordinates changed.
|
vector<Rectangle<float> >& RectanglePackingLimitRectangles |
( |
vector< Rectangle< float > > & |
v, |
|
|
const char * |
quality, |
|
|
PluginProgress * |
progress |
|
) |
|
|
|
This function is used for packing rectangles. It is used when we want to reduce the complexity restricting the number of rectangles packed in an optimal way. - Parameters:
-
| v | a vector including the rectangles to pack. |
| quality | give the complexity of the algorithm. |
| progress | pointer on an instance of the PluginProgress class. |
- Returns:
- the vector v whose rectangles have had their co-ordinates changed.
|
|