Incomplete work for porting simplify() to XS

This commit is contained in:
Alessandro Ranellucci 2013-11-21 20:25:24 +01:00
parent 7475762a27
commit 518798beb3
24 changed files with 121 additions and 41 deletions

View file

@ -19,6 +19,9 @@ 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;
ExPolygons simplify(double tolerance) const;
void simplify(double tolerance, ExPolygons &expolygons) const;
#ifdef SLIC3RXS
void from_SV(SV* poly_sv);