mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-03 17:05:43 +02:00
Return objects by reference instead of always cloning
This commit is contained in:
@@ -11,7 +11,9 @@ namespace Slic3r {
|
||||
|
||||
class Polygon : public MultiPoint {
|
||||
public:
|
||||
SV* to_SV_ref();
|
||||
Point* last_point();
|
||||
SV* to_SV_ref() const;
|
||||
SV* to_SV_clone_ref() const;
|
||||
Lines lines();
|
||||
Polyline* split_at(const Point* point);
|
||||
Polyline* split_at_index(int index);
|
||||
|
||||
Reference in New Issue
Block a user