summaryrefslogtreecommitdiff
path: root/src/CGALEvaluator.h
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2011-09-06 20:03:52 (GMT)
committerMarius Kintel <marius@kintel.net>2011-09-06 20:03:52 (GMT)
commita653b0c60494f9490301579ac9081858ce848f01 (patch)
tree17ff2b5bf6b0487a3ddffbecc41f1ac9e770d839 /src/CGALEvaluator.h
parenta93e6449804e75e351ac46a84ceff8f034ddd25d (diff)
Implemented 2D hull
Diffstat (limited to 'src/CGALEvaluator.h')
-rw-r--r--src/CGALEvaluator.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CGALEvaluator.h b/src/CGALEvaluator.h
index a985065..2453c25 100644
--- a/src/CGALEvaluator.h
+++ b/src/CGALEvaluator.h
@@ -19,7 +19,7 @@ using std::pair;
class CGALEvaluator : public Visitor
{
public:
- enum CsgOp {CGE_UNION, CGE_INTERSECTION, CGE_DIFFERENCE, CGE_MINKOWSKI, CGE_HULL};
+ enum CsgOp {CGE_UNION, CGE_INTERSECTION, CGE_DIFFERENCE, CGE_MINKOWSKI};
// FIXME: If a cache is not given, we need to fix this ourselves
CGALEvaluator(QHash<string, CGAL_Nef_polyhedron> &cache, const Tree &tree) : cache(cache), tree(tree), psevaluator(*this) {}
virtual ~CGALEvaluator() {}
@@ -41,6 +41,7 @@ private:
bool isCached(const AbstractNode &node) const;
void process(CGAL_Nef_polyhedron &target, const CGAL_Nef_polyhedron &src, CGALEvaluator::CsgOp op);
void applyToChildren(const AbstractNode &node, CGALEvaluator::CsgOp op);
+ void applyHull(const CgaladvNode &node);
string currindent;
typedef list<pair<const AbstractNode *, string> > ChildList;
contact: Jan Huwald // Impressum