diff options
author | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2022-06-18 17:29:27 +0200 |
---|---|---|
committer | jaseg <git-bigdata-wsl-arch@jaseg.de> | 2022-06-18 17:29:27 +0200 |
commit | 14e9d7fbc2a935ec9c2e6eb9d68e8d250f9614d4 (patch) | |
tree | 9f86768b8ffc04a39db9b614aa4cc11956dda29b /svg-flatten/src/nopencv.hpp | |
parent | 1622e9c9435d263c3c275718947b1030ad9b6b48 (diff) | |
download | gerbolyze-14e9d7fbc2a935ec9c2e6eb9d68e8d250f9614d4.tar.gz gerbolyze-14e9d7fbc2a935ec9c2e6eb9d68e8d250f9614d4.tar.bz2 gerbolyze-14e9d7fbc2a935ec9c2e6eb9d68e8d250f9614d4.zip |
svg-flatten: add drill handling to outline mode
Diffstat (limited to 'svg-flatten/src/nopencv.hpp')
-rw-r--r-- | svg-flatten/src/nopencv.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svg-flatten/src/nopencv.hpp b/svg-flatten/src/nopencv.hpp index 5dd399d..bbc190b 100644 --- a/svg-flatten/src/nopencv.hpp +++ b/svg-flatten/src/nopencv.hpp @@ -119,6 +119,8 @@ namespace gerbolyze { ContourCallback simplify_contours_douglas_peucker(ContourCallback cb); double polygon_area(Polygon_i &poly); + double polygon_perimeter(Polygon_i &poly); + d2p polygon_centroid(Polygon_i &poly); } } |