Lines Matching refs:sec
319 void modify_windings(std::vector<int> &windings, boost::shared_ptr<Section> sec, Dim2 d) {
320 unsigned k = sec->curve.path;
321 if(k >= windings.size() || sec->fp[d] == sec->tp[d]) return;
322 if(sec->f < sec->t) windings[k]++;
323 if(sec->f > sec->t) windings[k]--;
382 boost::shared_ptr<Section> sec = context[i].section;
383 if(Point::LexLessRt(d)(lim, sec->tp)) {
384 //sec->tp is less than or equal to lim
393 if(are_near(sec->tp, context[j].section->tp, tol)) {
432 boost::shared_ptr<Section> sec = context[i].section;
434 if(!si.intersects(Interval(sec->fp[1-d], sec->tp[1-d]))) continue;
438 sec->curve.get(ps), Interval(sec->f, sec->t));
445 merge(chops, split_section(sec, ps, other_splits, d), heap_sort);
456 boost::shared_ptr<Section> sec = context[context_ix].section;
457 Edge e(sec, context[context_ix].from_vert);
471 sec->windings = windings;
472 modify_windings(windings, sec, d);