New polygon_is_convex() function

This commit is contained in:
Alessandro Ranellucci committed 2012-02-25 16:14:59 +01:00
1 parent 2d130061ed
commit a24ffee2aa
3 files changed
+24 -4

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ use warnings;
# an ExPolygon is a polygon with holes
use Math::Geometry::Voronoi;
use Slic3r::Geometry qw(point_in_polygon X Y A B);
use Slic3r::Geometry qw(X Y A B point_in_polygon);
use Slic3r::Geometry::Clipper qw(union_ex JT_MITER);
# the constructor accepts an array of polygons