mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-23 08:41:11 -06:00
Fixed wrong implementation of concave_points() and convex_points() in C++. #2384
This commit is contained in:
parent
95f7bcb9fe
commit
6ce651eb4a
7 changed files with 53 additions and 18 deletions
|
@ -19,6 +19,9 @@ class Polygon : public MultiPoint {
|
|||
operator Polyline() const;
|
||||
Point& operator[](Points::size_type idx);
|
||||
const Point& operator[](Points::size_type idx) const;
|
||||
|
||||
Polygon() {};
|
||||
explicit Polygon(const Points &points): MultiPoint(points) {};
|
||||
Point last_point() const;
|
||||
Lines lines() const;
|
||||
void lines(Lines* lines) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue