PrusaSlicer-NonPlainar/xs/src/ExPolygonCollection.hpp
2013-12-12 20:19:33 +01:00

24 lines
507 B
C++

#ifndef slic3r_ExPolygonCollection_hpp_
#define slic3r_ExPolygonCollection_hpp_
#include <myinit.h>
#include "ExPolygon.hpp"
namespace Slic3r {
class ExPolygonCollection
{
public:
ExPolygons expolygons;
operator Polygons() const;
void scale(double factor);
void translate(double x, double y);
void rotate(double angle, Point* center);
bool contains_point(const Point* point) const;
void simplify(double tolerance);
void convex_hull(Polygon* hull) const;
};
}
#endif