More unfinished work

This commit is contained in:
Alessandro Ranellucci 2013-11-22 02:16:10 +01:00
parent 518798beb3
commit df8d889481
16 changed files with 74 additions and 48 deletions

View file

@ -6,6 +6,9 @@
namespace Slic3r {
class ExPolygon;
typedef std::vector<ExPolygon> ExPolygons;
class ExPolygon
{
public:
@ -19,7 +22,7 @@ class ExPolygon
bool is_valid() const;
bool contains_line(const Line* line) const;
bool contains_point(const Point* point) const;
Polygons simplify(double tolerance) const;
Polygons simplify_p(double tolerance) const;
ExPolygons simplify(double tolerance) const;
void simplify(double tolerance, ExPolygons &expolygons) const;
@ -33,8 +36,6 @@ class ExPolygon
#endif
};
typedef std::vector<ExPolygon> ExPolygons;
}
#endif