mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Avoid crossing perimeters: Further refactoring for clarity, code review.
This commit is contained in:
parent
62ab17bf6e
commit
f206b743fd
8 changed files with 363 additions and 393 deletions
|
@ -42,7 +42,8 @@ public:
|
|||
operator Polylines() const;
|
||||
void clear() { contour.points.clear(); holes.clear(); }
|
||||
void scale(double factor);
|
||||
void translate(double x, double y);
|
||||
void translate(double x, double y) { this->translate(Point(coord_t(x), coord_t(y))); }
|
||||
void translate(const Point &vector);
|
||||
void rotate(double angle);
|
||||
void rotate(double angle, const Point ¢er);
|
||||
double area() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue