generate-constraints.h revision 6af8609f35d86944763dc80141002c548984b2ed
/**
* \brief Functions to automatically generate constraints for the
* rectangular node overlap removal problem.
*
* Authors:
* Tim Dwyer <tgdwyer@gmail.com>
*
* Copyright (C) 2005 Authors
*
* Released under GNU LGPL. Read the file 'COPYING' for more information.
*/
#include <iostream>
Rectangle(double x, double X, double y, double Y);
double getMinD(unsigned const d) const {
}
double getMaxD(unsigned const d) const {
}
static void setXBorder(double x) {xBorder=x;}
static void setYBorder(double y) {yBorder=y;}
void moveCentreX(double x) {
}
void moveCentreY(double y) {
}
void moveMinX(double x) {
minX=x;
}
void moveMinY(double y) {
minY=y;
}
return 0;
}
return 0;
}
};
// returns number of constraints generated
int generateXConstraints(const int n, Rectangle** rs, Variable** vars, Constraint** &cs, const bool useNeighbourLists);
#endif // SEEN_REMOVEOVERLAP_GENERATE_CONSTRAINTS_H