summaryrefslogtreecommitdiff
path: root/src/polyset.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/polyset.cc')
-rw-r--r--src/polyset.cc13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/polyset.cc b/src/polyset.cc
index 481cbec..7e40eac 100644
--- a/src/polyset.cc
+++ b/src/polyset.cc
@@ -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)
{
}
contact: Jan Huwald // Impressum