mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 15:44:12 -06: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:
parent
6201aacf88
commit
ca4d4211c9
30 changed files with 203 additions and 161 deletions
|
@ -10,9 +10,9 @@ class PolylineCollection
|
|||
{
|
||||
public:
|
||||
Polylines polylines;
|
||||
PolylineCollection* chained_path(bool no_reverse = false) const;
|
||||
PolylineCollection* chained_path_from(const Point* start_near, bool no_reverse = false) const;
|
||||
Point* leftmost_point() const;
|
||||
void chained_path(PolylineCollection* retval, bool no_reverse = false) const;
|
||||
void chained_path_from(Point start_near, PolylineCollection* retval, bool no_reverse = false) const;
|
||||
Point leftmost_point() const;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue