Ported contains_line() to XS

This commit is contained in:
Alessandro Ranellucci committed 2013-11-21 15:12:06 +01:00
1 parent bd62de7653
commit a225a8b2ef
10 files changed
+97 -67

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@
Point* point_at(double distance)
%code{% const char* CLASS = "Slic3r::Point"; RETVAL = THIS->point_at(distance); %};
Polyline* as_polyline()
%code{% const char* CLASS = "Slic3r::Polyline"; RETVAL = new Polyline(); RETVAL->points.push_back(THIS->a); RETVAL->points.push_back(THIS->b); %};
%code{% const char* CLASS = "Slic3r::Polyline"; RETVAL = new Polyline(*THIS); %};
%{
Line*