mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-06-07 22:28:27 -04:00
16 lines
238 B
C++
16 lines
238 B
C++
#include "Polyline.hpp"
|
|
|
|
namespace Slic3r {
|
|
|
|
Lines
|
|
Polyline::lines()
|
|
{
|
|
Lines lines;
|
|
for (int i = 0; i < this->points.size()-1; i++) {
|
|
lines.push_back(Line(this->points[i], this->points[i+1]));
|
|
}
|
|
return lines;
|
|
}
|
|
|
|
}
|