1
#ifndef slic3r_MultiPoint_hpp_
2
#define slic3r_MultiPoint_hpp_
19
operator Points() const;
20
void scale(double factor);
21
void translate(double x, double y);
22
void rotate(double angle, const Point ¢er);
24
Point first_point() const;
25
virtual Point last_point() const = 0;
26
virtual Lines lines() const = 0;
27
double length() const;
28
bool is_valid() const;
29
int find_point(const Point &point) const;
30
void bounding_box(BoundingBox* bb) const;
32
static Points _douglas_peucker(const Points &points, const double tolerance);
35
void from_SV(SV* poly_sv);
36
void from_SV_check(SV* poly_sv);
38
SV* to_SV_pureperl() const;