Ported encloses_point() to XS and renamed to contains_point()

This commit is contained in:
Alessandro Ranellucci committed 2013-11-21 16:21:42 +01:00
1 parent a225a8b2ef
commit 5f81292f3f
22 files changed
+81 -76

No files matched your search

+1
View File
@@ -22,6 +22,7 @@
double area();
bool is_valid();
bool contains_line(Line* line);
bool contains_point(Point* point);
%{
ExPolygon*
+1
View File
@@ -33,6 +33,7 @@
bool is_valid();
Point* first_point()
%code{% const char* CLASS = "Slic3r::Point"; RETVAL = THIS->first_point(); %};
bool contains_point(Point* point);
%{
Polygon*