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