mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Ported contains_line() to XS
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
namespace Slic3r {
|
||||
|
||||
class Line;
|
||||
class Polyline;
|
||||
|
||||
class Line
|
||||
{
|
||||
@@ -15,6 +16,7 @@ class Line
|
||||
Point b;
|
||||
Line() {};
|
||||
explicit Line(Point _a, Point _b): a(_a), b(_b) {};
|
||||
operator Polyline() const;
|
||||
void scale(double factor);
|
||||
void translate(double x, double y);
|
||||
void rotate(double angle, Point* center);
|
||||
|
||||
Reference in New Issue
Block a user