Removed the Point::wkt() and Point::dump_perl() methods.

Added to_string() for the basis Eigen vector types.
This commit is contained in:
bubnikv 2018-08-17 16:54:07 +02:00
parent 65011f9382
commit 5b94f53cd7
19 changed files with 33 additions and 157 deletions

View file

@ -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; }