Lines Matching defs:ix
61 bool onIx(unsigned ix) const { return a == ix || b == ix; }
113 unsigned ix;
115 CrossingOrder(unsigned i, bool r = false) : ix(i), rev(r) {}
118 return (ix == a.a ? a.ta : a.tb) <
119 (ix == b.a ? b.ta : b.tb);
121 return (ix == a.a ? a.ta : a.tb) >
122 (ix == b.a ? b.ta : b.tb);
144 inline void sort_crossings(Crossings &cr, unsigned ix) { std::sort(cr.begin(), cr.end(), CrossingOrder(ix)); }