1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-08-02 11:35:51 +00:00

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
+17
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
%}