mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-30 08:32:42 +00:00
Incomplete work for porting simplify() to XS
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
int count()
|
||||
%code{% RETVAL = THIS->expolygons.size(); %};
|
||||
bool contains_point(Point* point);
|
||||
void simplify(double tolerance);
|
||||
%{
|
||||
|
||||
ExPolygonCollection*
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
ExtrusionEntityCollection* subtract_expolygons(ExPolygonCollection* collection)
|
||||
%code{% const char* CLASS = "Slic3r::ExtrusionPath::Collection"; RETVAL = THIS->subtract_expolygons(collection); %};
|
||||
void clip_end(double distance);
|
||||
void simplify(double tolerance);
|
||||
double length();
|
||||
bool is_perimeter();
|
||||
bool is_fill();
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
Point* first_point()
|
||||
%code{% const char* CLASS = "Slic3r::Point"; RETVAL = THIS->first_point(); %};
|
||||
bool contains_point(Point* point);
|
||||
void simplify(double tolerance);
|
||||
%{
|
||||
|
||||
Polygon*
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
bool is_valid();
|
||||
void clip_end(double distance);
|
||||
void clip_start(double distance);
|
||||
void simplify(double tolerance);
|
||||
%{
|
||||
|
||||
Polyline*
|
||||
|
||||
Reference in New Issue
Block a user