Lines Matching defs:ix
9 unsigned ix;
11 Event(double pos, unsigned i, bool c) : x(pos), ix(i), closing(c) {}
19 return other.x == x && other.ix == ix && other.closing == closing;
47 unsigned ix = events[i].ix;
49 std::vector<unsigned>::iterator iter = std::find(open.begin(), open.end(), ix);
55 if(rs[jx][1-d].intersects(rs[ix][1-d])) {
56 pairs[jx].push_back(ix);
59 open.push_back(ix);
98 unsigned ix = events[n][i[n]].ix;
100 //std::cout << n << "[" << ix << "] - " << (closing ? "closer" : "opener") << "\n";
102 open[n].erase(std::find(open[n].begin(), open[n].end(), ix));
109 if(a[jx][1-d].intersects(b[ix][1-d])) {
110 pairs[jx].push_back(ix);
118 if(b[jx][1-d].intersects(a[ix][1-d])) {
119 pairs[ix].push_back(jx);
123 open[n].push_back(ix);