2014-05-13 18:06:01 +00:00
|
|
|
%module{Slic3r::XS};
|
|
|
|
|
|
|
|
%{
|
|
|
|
#include <myinit.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();
|
|
|
|
|
|
|
|
Polyline* shortest_path(Point* from, Point* to)
|
|
|
|
%code%{ RETVAL = new Polyline(); THIS->shortest_path(*from, *to, RETVAL); %};
|
|
|
|
};
|