mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-02 19:44:00 -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
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue