Ported some minor methods to XS

This commit is contained in:
Alessandro Ranellucci 2014-11-15 23:06:15 +01:00
parent 379cde30e2
commit 28466750e6
9 changed files with 58 additions and 42 deletions

View file

@ -3,6 +3,7 @@
#include <myinit.h>
#include <vector>
#include <string>
#include "Line.hpp"
#include "MultiPoint.hpp"
#include "Polyline.hpp"
@ -36,6 +37,7 @@ class Polygon : public MultiPoint {
void simplify(double tolerance, Polygons &polygons) const;
void triangulate_convex(Polygons* polygons) const;
Point centroid() const;
std::string wkt() const;
#ifdef SLIC3RXS
void from_SV_check(SV* poly_sv);