2013-07-14 18:09:54 +04:00
|
|
|
#ifndef slic3r_Polyline_hpp_
|
|
|
|
#define slic3r_Polyline_hpp_
|
|
|
|
|
2013-07-16 00:57:22 +04:00
|
|
|
#include "Line.hpp"
|
|
|
|
#include "MultiPoint.hpp"
|
2013-07-14 18:09:54 +04:00
|
|
|
|
|
|
|
namespace Slic3r {
|
|
|
|
|
2013-07-16 00:57:22 +04:00
|
|
|
class Polyline : public MultiPoint {
|
2013-07-14 18:09:54 +04:00
|
|
|
public:
|
2013-09-03 00:33:03 +04:00
|
|
|
Point* last_point() const;
|
2013-09-03 21:26:58 +04:00
|
|
|
void lines(Lines &lines) const;
|
2013-09-13 16:48:40 +04:00
|
|
|
|
|
|
|
#ifdef SLIC3RXS
|
2013-09-03 21:26:58 +04:00
|
|
|
SV* to_SV_ref();
|
2013-09-02 22:22:20 +04:00
|
|
|
SV* to_SV_clone_ref() const;
|
2013-09-13 16:48:40 +04:00
|
|
|
#endif
|
2013-07-14 18:09:54 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
typedef std::vector<Polyline> Polylines;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|