mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-27 18:51:11 -06:00
Some reduction of unnecessary conversions when calling ClipperUtils.
This commit is contained in:
parent
60b5e0d0d5
commit
cab71073a1
11 changed files with 29 additions and 24 deletions
|
|
@ -59,13 +59,12 @@ public:
|
|||
src.points.clear();
|
||||
}
|
||||
}
|
||||
|
||||
explicit operator Polylines() const;
|
||||
explicit operator Line() const;
|
||||
|
||||
const Point& last_point() const override { return this->points.back(); }
|
||||
|
||||
const Point& leftmost_point() const;
|
||||
Line line() const;
|
||||
Lines lines() const override;
|
||||
|
||||
void clip_end(double distance);
|
||||
void clip_start(double distance);
|
||||
void extend_end(double distance);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue