~msoegtrop/inkscape/embroidery

« back to all changes in this revision

Viewing changes to src/2geom/elliptical-arc.cpp

  • Committer: Michael Soegtrop
  • Date: 2017-06-05 13:13:40 UTC
  • mfrom: (14862.1.45 inkscape)
  • Revision ID: msoegtrop@yahoo.de-20170605131340-5zjk9ihhdm1hadzs
updated to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
570
570
    std::vector<ShapeIntersection>::reverse_iterator i = xs.rbegin(), last = xs.rend();
571
571
    while (i != last) {
572
572
        Coord &t = is_first ? i->first : i->second;
573
 
        assert(are_near(_ellipse.pointAt(t), i->point(), 1e-6));
 
573
        assert(are_near(_ellipse.pointAt(t), i->point(), 1e-5));
574
574
        t = timeAtAngle(t);
575
575
        if (!unit.contains(t)) {
576
576
            xs.erase((++i).base());
577
577
            continue;
578
578
        } else {
579
 
            assert(are_near(pointAt(t), i->point(), 1e-6));
 
579
            assert(are_near(pointAt(t), i->point(), 1e-5));
580
580
            ++i;
581
581
        }
582
582
    }