mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-21 07:41:09 -06:00
Ported chained_path() to XS
This commit is contained in:
parent
4d5d003ba7
commit
0516aac715
9 changed files with 74 additions and 31 deletions
|
@ -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
|
||||
|
||||
%}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
std::vector<Points::size_type> T_STD_VECTOR_INT
|
||||
|
||||
ZTable* O_OBJECT
|
||||
TriangleMesh* O_OBJECT
|
||||
Point* O_OBJECT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue