Updated documentation

syntax_highlighting^2
Marius Kintel 2011-12-26 12:00:15 +01:00
parent 686781d57f
commit 0d72f5a2d5
4 changed files with 25 additions and 2 deletions

Binary file not shown.

Binary file not shown.

View File

@ -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;

View File

@ -25,12 +25,21 @@
*/
#include "polyset.h"
// FIXME: Reenable/rewrite - don't be dependant on GUI
// #include "Preferences.h"
#include "linalg.h"
#include <Eigen/LU>
#include <QColor>
/*! /class PolySet
The PolySet class fulfils multiple tasks, partially for historical reasons.
FIXME: It's a bit messy and is a prime target for refactoring.
1) Store 2D and 3D polygon meshes from all origins
2) Store 2D outlines, used for rendering edges
3) Rendering of polygons and edges
*/
PolySet::PolySet() : grid(GRID_FINE), is2d(false), convexity(1)
{
}