2014-05-13 18:06:01 +00:00
|
|
|
%module{Slic3r::XS};
|
|
|
|
|
|
|
|
%{
|
2015-12-07 23:39:54 +00:00
|
|
|
#include <xsinit.h>
|
2014-08-03 17:42:29 +00:00
|
|
|
#include "libslic3r/MotionPlanner.hpp"
|
2014-05-13 18:06:01 +00:00
|
|
|
%}
|
|
|
|
|
|
|
|
%name{Slic3r::MotionPlanner} class MotionPlanner {
|
|
|
|
MotionPlanner(ExPolygons islands);
|
|
|
|
~MotionPlanner();
|
2014-10-14 22:59:26 +00:00
|
|
|
|
|
|
|
int islands_count();
|
2015-01-19 17:53:04 +00:00
|
|
|
Clone<Polyline> shortest_path(Point* from, Point* to)
|
|
|
|
%code%{ RETVAL = THIS->shortest_path(*from, *to); %};
|
2014-05-13 18:06:01 +00:00
|
|
|
};
|