Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2014-01-09 20:26:39 +0400
committerAlessandro Ranellucci <aar@cpan.org>2014-01-09 20:26:39 +0400
commitbf91f3096a26d1c9f88c975495362232832001d9 (patch)
tree0c3ea017f58418aed3642837a3713cf531558dd7 /xs/xsp/ExPolygon.xsp
parent11f065ca5e1336d590fd55707dcebd4b35a702fb (diff)
Incomplete work for using Boost.Polygon to compute medial axis
Diffstat (limited to 'xs/xsp/ExPolygon.xsp')
-rw-r--r--xs/xsp/ExPolygon.xsp2
1 files changed, 2 insertions, 0 deletions
diff --git a/xs/xsp/ExPolygon.xsp b/xs/xsp/ExPolygon.xsp
index 6540aceca..b9075f3d0 100644
--- a/xs/xsp/ExPolygon.xsp
+++ b/xs/xsp/ExPolygon.xsp
@@ -25,6 +25,8 @@
bool contains_point(Point* point);
ExPolygons simplify(double tolerance);
Polygons simplify_p(double tolerance);
+ Polylines medial_axis(double width)
+ %code{% THIS->medial_axis(&RETVAL); %};
%{
ExPolygon*