Lines Matching refs:rs
173 int generateXConstraints(const int n, Rectangle** rs, Variable** vars, Constraint** &cs, const bool useNeighbourLists) {
177 vars[i]->desiredPosition=rs[i]->getCentreX();
178 Node *v = new Node(vars[i],rs[i],rs[i]->getCentreX());
179 events[ctr++]=new Event(Open,v,rs[i]->getMinY());
180 events[ctr++]=new Event(Close,v,rs[i]->getMaxY());
257 int generateYConstraints(const int n, Rectangle** rs, Variable** vars, Constraint** &cs) {
261 vars[i]->desiredPosition=rs[i]->getCentreY();
262 Node *v = new Node(vars[i],rs[i],rs[i]->getCentreY());
263 events[ctr++]=new Event(Open,v,rs[i]->getMinX());
264 events[ctr++]=new Event(Close,v,rs[i]->getMaxX());