mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-31 17:12:56 +00:00
Refactored signatures of many C++ methods for more efficient and safer style. Includes a bugfix for Point::nearest_point() which was returning a pointer to freed memory. #1961
This commit is contained in:
@@ -12,7 +12,8 @@ typedef std::vector<Polyline> Polylines;
|
||||
class Polyline : public MultiPoint {
|
||||
public:
|
||||
operator Polylines() const;
|
||||
Point* last_point() const;
|
||||
Point last_point() const;
|
||||
Point leftmost_point() const;
|
||||
Lines lines() const;
|
||||
void clip_end(double distance);
|
||||
void clip_start(double distance);
|
||||
|
||||
Reference in New Issue
Block a user