PrusaSlicer-NonPlainar/xs/src/Polyline.hpp

26 lines
413 B
C++
Raw Normal View History

2013-07-14 14:09:54 +00:00
#ifndef slic3r_Polyline_hpp_
#define slic3r_Polyline_hpp_
#include "Line.hpp"
#include "MultiPoint.hpp"
2013-07-14 14:09:54 +00:00
namespace Slic3r {
class Polyline : public MultiPoint {
2013-07-14 14:09:54 +00:00
public:
Point* last_point() const;
2013-09-13 13:19:15 +00:00
Lines lines() const;
void clip_end(double distance);
#ifdef SLIC3RXS
SV* to_SV_ref();
SV* to_SV_clone_ref() const;
#endif
2013-07-14 14:09:54 +00:00
};
typedef std::vector<Polyline> Polylines;
}
#endif