Lines Matching defs:to
110 int to = inds[n];
112 relocate(&events[--nbEvt], to);
119 to = inds[moveInd];
121 events[to].ind = n;
122 inds[n] = to;
125 Geom::Point const px = events[to].posx;
133 events[to].ind = half;
135 inds[half] = to;
162 events[to].ind = child1;
164 inds[child1] = to;
168 events[to].ind = child2;
170 inds[child2] = to;
179 events[to].ind = child2;
181 inds[child2] = to;
193 events[to].ind = child1;
195 inds[child1] = to;
207 void SweepEventQueue::relocate(SweepEvent *e, int to)
209 if (inds[e->ind] == to) {
213 events[to] = *e;
215 e->sweep[LEFT]->evt[RIGHT] = events + to;
216 e->sweep[RIGHT]->evt[LEFT] = events + to;
217 inds[e->ind] = to;