Files
OrcaSlicer-bambulab/xs/src/ExPolygonCollection.hpp
T

25 lines
507 B
C++
Raw Normal View History

2013-07-14 00:38:01 +02:00
#ifndef slic3r_ExPolygonCollection_hpp_
#define slic3r_ExPolygonCollection_hpp_
#include <myinit.h>
2013-07-14 00:38:01 +02:00
#include "ExPolygon.hpp"
namespace Slic3r {
class ExPolygonCollection
{
public:
2013-08-08 02:10:34 +02:00
ExPolygons expolygons;
operator Polygons() const;
2013-07-14 00:38:01 +02:00
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;
2013-07-14 00:38:01 +02:00
};
}
#endif