Implemented rotation of the support structure.

This commit is contained in:
bubnikv 2017-06-08 14:02:37 +02:00
parent 27003dc0fd
commit f9f0940297
5 changed files with 52 additions and 29 deletions

View file

@ -26,7 +26,8 @@ public:
void scale(double factor);
void translate(double x, double y);
void translate(const Point &vector);
void rotate(double angle);
void rotate(double angle) { this->rotate(cos(angle), sin(angle)); }
void rotate(double cos_angle, double sin_angle);
void rotate(double angle, const Point &center);
void reverse();
Point first_point() const;