New get_trapezoids() implementation. Maybe heavier but it doesn't fail with some versions of GCC like the one provided by Boost.Polygon. #1965

This commit is contained in:
Alessandro Ranellucci 2014-04-28 20:14:20 +02:00
parent d4e97d17d5
commit 2720000a17
7 changed files with 79 additions and 4 deletions

View file

@ -32,6 +32,8 @@
%code{% THIS->medial_axis(max_width, min_width, &RETVAL); %};
Polygons get_trapezoids(double angle)
%code{% THIS->get_trapezoids(&RETVAL, angle); %};
Polygons get_trapezoids2(double angle)
%code{% THIS->get_trapezoids2(&RETVAL, angle); %};
Polygons triangulate()
%code{% THIS->triangulate(&RETVAL); %};
Polygons triangulate2()