diff options
author | Marius Kintel <marius@kintel.net> | 2011-12-26 20:20:05 (GMT) |
---|---|---|
committer | Marius Kintel <marius@kintel.net> | 2011-12-26 20:20:05 (GMT) |
commit | cde24f681580f8911ac4fe29265b169a0bac5f49 (patch) | |
tree | b426b377e367a50b406bad51a0dbb76510278102 /src/dxfdata.cc | |
parent | 36056e27f34a6049c18e49d5f24bfbd7cc6eabf4 (diff) | |
parent | bc3454f369a21cd689f42f5e9ec5cb316f9ebdd5 (diff) |
Merge branch 'master' into buildfix
Diffstat (limited to 'src/dxfdata.cc')
-rw-r--r-- | src/dxfdata.cc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/dxfdata.cc b/src/dxfdata.cc index cf9248f..2bc21e2 100644 --- a/src/dxfdata.cc +++ b/src/dxfdata.cc @@ -42,6 +42,20 @@ #include <QDir> #include "value.h" +/*! \class DxfData + + The DxfData class fulfils multiple tasks, partially for historical reasons. + FIXME: It's a bit messy and is a prime target for refactoring. + + 1) Read DXF file from disk + 2) Store contents of DXF files as points, paths and dims + 3) Store 2D polygons, both from the polygon() module and from 2D CSG operations. + Used for tesselation into triangles + 4) Store 2D polygons before exporting to DXF + + + */ + struct Line { int idx[2]; // indices into DxfData::points bool disabled; |