diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2014-04-24 19:06:16 +0400 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2014-04-24 19:06:16 +0400 |
commit | 37c7b958d432b00851686a8d5d8bf2b7be083d60 (patch) | |
tree | 20b0de3201b6428ce26f5938e47966279d381fc4 /xs/xsp/ExPolygon.xsp | |
parent | bb0ce3cccd932a80c9ad33c7002b80d613ec6c5e (diff) |
New ExPolygon::triangulate() method
Diffstat (limited to 'xs/xsp/ExPolygon.xsp')
-rw-r--r-- | xs/xsp/ExPolygon.xsp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xs/xsp/ExPolygon.xsp b/xs/xsp/ExPolygon.xsp index 78fca61fe..2a19d1fbb 100644 --- a/xs/xsp/ExPolygon.xsp +++ b/xs/xsp/ExPolygon.xsp @@ -31,6 +31,8 @@ %code{% THIS->medial_axis(max_width, min_width, &RETVAL); %}; Polygons get_trapezoids(double angle) %code{% THIS->get_trapezoids(&RETVAL, angle); %}; + Polygons triangulate() + %code{% THIS->triangulate(&RETVAL); %}; %{ ExPolygon* |