Lines Matching defs:idx
60 unsigned idx;
117 elem.idx = j;
126 unsigned lvl = temp[i].level, idx = temp[i].idx;
128 std::pair<unsigned,unsigned>next_data(temp[first_in_comp].level,temp[first_in_comp].idx);
129 (*this)[lvl][idx].next_on_curve = next_data;
133 std::pair<unsigned,unsigned> next_data(temp[i+1].level,temp[i+1].idx);
134 (*this)[lvl][idx].next_on_curve = next_data;
146 void findFirstUnused(unsigned &level, unsigned &idx){
148 idx = 0;
153 idx = j;
165 void step(unsigned &level, unsigned &idx, int &direction){
168 if ( idx >= (*this)[level].size()-1 || (*this)[level][idx+1].used ) {
172 idx += 1;
174 if ( idx <= 0 || (*this)[level][idx-1].used ) {
178 idx -= 1;
183 //double t = (*this)[level][idx].t;
184 double sign = ((*this)[level][idx].sign ? 1 : -1);
194 next = (*this)[level][idx].next_on_curve;
196 next = (*this)[level][idx].prev_on_curve;
204 idx = next.second;