diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-01-05 19:09:01 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-01-05 19:09:01 (GMT) |
commit | a02e00083f385a1770103569e07b2b5eb8d7ee4f (patch) | |
tree | eb21fc21ba838912e99e732155ac7de3945624f2 /dxfdata.cc | |
parent | 8457c079e3d9d8aa77b184c1ba1dec09f7116fc6 (diff) |
Clifford Wolf:
New hack for 2d transformations:
create DxfData, transform, tess to polyset, recreate nef
git-svn-id: http://svn.clifford.at/openscad/trunk@203 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'dxfdata.cc')
-rw-r--r-- | dxfdata.cc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -23,6 +23,14 @@ #include <QFile> +struct Line { + typedef DxfData::Point Point; + Point *p[2]; + bool disabled; + Line(Point *p1, Point *p2) { p[0] = p1; p[1] = p2; disabled = false; } + Line() { p[0] = NULL; p[1] = NULL; disabled = false; } +}; + DxfData::DxfData(double fn, double fs, double fa, QString filename, QString layername, double xorigin, double yorigin, double scale) { handle_dep(filename); |