mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-21 07:41:09 -06:00
Incomplete work for porting simplify() to XS
This commit is contained in:
parent
7475762a27
commit
518798beb3
24 changed files with 121 additions and 41 deletions
|
@ -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*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue