#include <RectangleRelativePositionList.h>
Public Member Functions | |
void | addRectangleRelativePosition (vector< Rectangle< float > >::iterator itr, int numRect, float wdth, float hght, float x, float y, list< RectangleRelativePosition >::iterator itRectangleRelativePosition) |
void | allocateCoordinates () |
void | stockOfTemporaryBestCoordinates (int bestPlaceInFirstSequence) |
|
Add a structure RectangleRelativePosition to the list. |
|
Modify the co-ordinates of the Rectangles pointed by the fields RectangleIterator of the elements of the list. These new co-ordinates are calculated from the values of the fields rectangleLeftAbscissa and rectangleLowOrdinate. |
|
Stock the values of the fields rectangleTemporaryLeftAbscissa and rectangleTemporaryLowOrdinate in the fields rectangle TemporaryBestLeftAbscissa and rectangleTemporaryBestLowOrdinate for all the elements of the list from one position in the list. |