Implemented split_at_index() and split_at_first_point() for Polygon
This commit is contained in:
parent
62e5bd0ee7
commit
0d07a2e4e6
3 changed files with 29 additions and 1 deletions
|
@ -16,6 +16,10 @@
|
|||
void scale(double factor);
|
||||
void translate(double x, double y);
|
||||
Lines lines();
|
||||
Polyline* split_at_index(int index)
|
||||
%code{% const char* CLASS = "Slic3r::Polyline"; RETVAL = THIS->split_at_index(index); %};
|
||||
Polyline* split_at_first_point()
|
||||
%code{% const char* CLASS = "Slic3r::Polyline"; RETVAL = THIS->split_at_first_point(); %};
|
||||
%{
|
||||
|
||||
Polygon*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue