rectanglePackingFonctions.h File Reference

#include <vector>
#include "RectanglePacking.h"

Include dependency graph for rectanglePackingFonctions.h:

This graph shows which files directly or indirectly include this file:


Functions

vector< Rectangle< float > > & RectanglePackingLimitRectangles (vector< Rectangle< float > > &v, const char *quality, PluginProgress *progress)
vector< Rectangle< float > > & RectanglePackingLimitPositions (vector< Rectangle< float > > &v, const char *quality, PluginProgress *progress)

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.


Generated on Fri Jan 5 14:21:05 2007 for Tulip Plugins by  doxygen 1.4.6