mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-22 00:01:09 -06:00
Ported (and used) ExtrusionPath->first_point
This commit is contained in:
parent
fe42427a54
commit
9fb14f2119
6 changed files with 16 additions and 9 deletions
|
@ -8,6 +8,12 @@ ExtrusionPath::reverse()
|
|||
this->polyline.reverse();
|
||||
}
|
||||
|
||||
const Point*
|
||||
ExtrusionPath::first_point() const
|
||||
{
|
||||
return &(this->polyline.points.front());
|
||||
}
|
||||
|
||||
ExtrusionPath*
|
||||
ExtrusionLoop::split_at_index(int index)
|
||||
{
|
||||
|
|
|
@ -38,6 +38,7 @@ class ExtrusionPath : public ExtrusionEntity
|
|||
public:
|
||||
Polyline polyline;
|
||||
void reverse();
|
||||
const Point* first_point() const;
|
||||
};
|
||||
|
||||
class ExtrusionLoop : public ExtrusionEntity
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue