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