aboutsummaryrefslogtreecommitdiff
path: root/svg-flatten/include
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2021-06-01 23:36:32 +0200
committerjaseg <git@jaseg.de>2021-06-01 23:36:32 +0200
commit3386e586ac0f0ae07535036efe6293f6118f7e2b (patch)
tree8758724de348c39cfd45054cff013abffc4fb27f /svg-flatten/include
parentbbf1c02e799573532d1f5416fafe1b2255168bba (diff)
downloadgerbolyze-3386e586ac0f0ae07535036efe6293f6118f7e2b.tar.gz
gerbolyze-3386e586ac0f0ae07535036efe6293f6118f7e2b.tar.bz2
gerbolyze-3386e586ac0f0ae07535036efe6293f6118f7e2b.zip
Work on chain approx
Diffstat (limited to 'svg-flatten/include')
-rw-r--r--svg-flatten/include/geom2d.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/svg-flatten/include/geom2d.hpp b/svg-flatten/include/geom2d.hpp
index fa5c545..b4cccf2 100644
--- a/svg-flatten/include/geom2d.hpp
+++ b/svg-flatten/include/geom2d.hpp
@@ -35,6 +35,9 @@ namespace gerbolyze {
typedef std::array<double, 2> d2p;
typedef std::vector<d2p> Polygon;
+ typedef std::array<int64_t, 2> i2p;
+ typedef std::vector<i2p> Polygon_i;
+
class xform2d {
public:
xform2d(double xx, double yx, double xy, double yy, double x0=0.0, double y0=0.0) :