Ported chained_path() to XS

This commit is contained in:
Alessandro Ranellucci 2013-11-23 21:39:05 +01:00
parent 4d5d003ba7
commit 0516aac715
9 changed files with 74 additions and 31 deletions

View file

@ -20,4 +20,21 @@ convex_hull(points)
OUTPUT:
RETVAL
std::vector<Points::size_type>
chained_path(points)
Points points
CODE:
chained_path(points, RETVAL);
OUTPUT:
RETVAL
std::vector<Points::size_type>
chained_path_from(points, start_from)
Points points
Point* start_from
CODE:
chained_path(points, RETVAL, *start_from);
OUTPUT:
RETVAL
%}

View file

@ -1,3 +1,5 @@
std::vector<Points::size_type> T_STD_VECTOR_INT
ZTable* O_OBJECT
TriangleMesh* O_OBJECT
Point* O_OBJECT