~inkscape.dev/inkscape/trunk

« back to all changes in this revision

Viewing changes to src/conn-avoid-ref.cpp

  • Committer: Krzysztof Kosiński
  • Date: 2015-07-04 16:15:46 UTC
  • mfrom: (14059.2.18 lib2geom-sync)
  • Revision ID: tweenk.pl@gmail.com-20150704161546-t72563dl3qrj4yya
Sync 2Geom to revision 2413.
May introduce regressions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#include "display/curve.h"
20
20
#include "2geom/line.h"
21
21
#include "2geom/crossing.h"
22
 
#include "2geom/convex-cover.h"
 
22
#include "2geom/convex-hull.h"
23
23
#include "helper/geom-curves.h"
24
24
#include "svg/stringstream.h"
25
25
#include "conn-avoid-ref.h"
297
297
    Geom::Line prev_parallel_hull_edge;
298
298
    prev_parallel_hull_edge.setOrigin(hull_edge.origin()+hull_edge.versor().ccw()*spacing);
299
299
    prev_parallel_hull_edge.setVersor(hull_edge.versor());
300
 
    int hull_size = hull.boundary.size();
 
300
    int hull_size = hull.size();
301
301
    for (int i = 0; i < hull_size; ++i)
302
302
    {
303
303
        hull_edge.setPoints(hull[i], hull[i+1]);