mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 20:28:08 -06:00
Removed the Point::wkt() and Point::dump_perl() methods.
Added to_string() for the basis Eigen vector types.
This commit is contained in:
parent
65011f9382
commit
5b94f53cd7
19 changed files with 33 additions and 157 deletions
|
@ -20,7 +20,6 @@ class Line
|
|||
public:
|
||||
Line() {}
|
||||
explicit Line(Point _a, Point _b): a(_a), b(_b) {}
|
||||
std::string wkt() const;
|
||||
explicit operator Lines() const { Lines lines; lines.emplace_back(*this); return lines; }
|
||||
void scale(double factor) { this->a *= factor; this->b *= factor; }
|
||||
void translate(double x, double y) { Vector v(x, y); this->a += v; this->b += v; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue