Some reduction of unnecessary conversions when calling ClipperUtils.

This commit is contained in:
Vojtech Bubnik 2021-09-13 15:13:05 +02:00
parent 60b5e0d0d5
commit cab71073a1
11 changed files with 29 additions and 24 deletions

View file

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