Polyline->lines

This commit is contained in:
Alessandro Ranellucci 2013-07-15 23:12:13 +02:00
parent ab6b3d41a7
commit 439255ca46
5 changed files with 39 additions and 1 deletions

View file

@ -16,6 +16,7 @@
void pop_back()
%code{% THIS->points.pop_back(); %};
void reverse();
Lines lines();
%{
Polyline*

View file

@ -13,3 +13,17 @@ SurfaceCollection* O_OBJECT
ExtrusionRole T_UV
SurfaceType T_UV
Lines T_LINES
Lines* T_LINES_PTR
INPUT
OUTPUT
T_LINES
$arg = lines2perl(aTHX_ $var);
T_LINES_PTR
$arg = lines2perl(aTHX_ *$var);
delete $var;

View file

@ -6,6 +6,8 @@
%typemap{ExPolygon*};
%typemap{Polyline*};
%typemap{Polygon*};
%typemap{Lines};
%typemap{SurfaceType}{parsed}{
%cpp_type{SurfaceType};
%precall_code{%