Ported concave_points() and convex_points() to XS

This commit is contained in:
Alessandro Ranellucci 2014-11-30 21:48:50 +01:00
parent 076d82d8d6
commit 1fda9e3d50
4 changed files with 62 additions and 47 deletions

View file

@ -38,6 +38,10 @@ class Polygon : public MultiPoint {
void triangulate_convex(Polygons* polygons) const;
Point centroid() const;
std::string wkt() const;
void concave_points(double angle, Points* points) const;
void concave_points(Points* points) const;
void convex_points(double angle, Points* points) const;
void convex_points(Points* points) const;
#ifdef SLIC3RXS
void from_SV_check(SV* poly_sv);