diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2011-11-21 23:35:13 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2011-11-21 23:35:13 (GMT) |
commit | 4843022bf4755d7fafe58faee430a6f62f51ca8f (patch) | |
tree | 34ce84fbfdbfb720b4aae4ae575f296341bbccab /src/cgalutils.cc | |
parent | e31bb0f60312e692f5ef57fd3823e413cc8a669c (diff) | |
parent | b211fe5158160910c73397bc401fb846c45a7295 (diff) |
Merge remote branch 'upstream/master' into cakebaby
Diffstat (limited to 'src/cgalutils.cc')
-rw-r--r-- | src/cgalutils.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cgalutils.cc b/src/cgalutils.cc index bef873c..e77f5dd 100644 --- a/src/cgalutils.cc +++ b/src/cgalutils.cc @@ -8,6 +8,8 @@ #include <CGAL/assertions_behaviour.h> #include <CGAL/exceptions.h> +#include <map> + PolySet *createPolySetFromPolyhedron(const CGAL_Polyhedron &p) { PolySet *ps = new PolySet(); @@ -87,7 +89,7 @@ public: for (size_t i = 0; i < ps.polygons.size(); i++) { const PolySet::Polygon *poly = &ps.polygons[i]; - QHash<int,int> fc; + std::map<int,int> fc; bool facet_is_degenerated = false; for (size_t j = 0; j < poly->size(); j++) { const Vector3d &p = poly->at(j); |