mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-23 08:41:11 -06:00
Ported contains_line() to XS
This commit is contained in:
parent
bd62de7653
commit
a225a8b2ef
10 changed files with 97 additions and 67 deletions
|
@ -11,11 +11,13 @@ class ExPolygon
|
|||
public:
|
||||
Polygon contour;
|
||||
Polygons holes;
|
||||
operator Polygons() const;
|
||||
void scale(double factor);
|
||||
void translate(double x, double y);
|
||||
void rotate(double angle, Point* center);
|
||||
double area() const;
|
||||
bool is_valid() const;
|
||||
bool contains_line(Line* line) const;
|
||||
|
||||
#ifdef SLIC3RXS
|
||||
void from_SV(SV* poly_sv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue