Searched defs:on_a (Results 1 - 1 of 1) sorted by relevance

/inkscape/src/2geom/
H A Dtoposweep.cpp296 bool on_a; member in struct:Geom::MergeIterator
297 MergeIterator(A const &av, B &bv, Z const &zv) : a(av), b(bv), z(zv), ai(0), on_a(b.empty() || z(a[0], b.back())) {}
300 on_a = b.empty() ? true : (ai >= a.size() ? false : z(a[ai], b.back()));
301 if(on_a) {
303 if(ai >= a.size()) on_a = false;
306 if(b.empty()) on_a = true;
313 return on_a ? a[ai] : b.back();
316 typename A::value_type operator->() { assert(!done()); return on_a ? a[ai] : b.back(); }

Completed in 331 milliseconds