summaryrefslogtreecommitdiff
path: root/src/dxftess-cgal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dxftess-cgal.cc')
-rw-r--r--src/dxftess-cgal.cc9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/dxftess-cgal.cc b/src/dxftess-cgal.cc
index d19ef61..fb5bf50 100644
--- a/src/dxftess-cgal.cc
+++ b/src/dxftess-cgal.cc
@@ -30,8 +30,7 @@ typedef CGAL::Constrained_Delaunay_triangulation_2<K, Tds> CDT;
typedef CDT::Vertex_handle Vertex_handle;
typedef CDT::Point CDTPoint;
-//#include <boost/unordered_map.hpp>
-#include <map>
+#include <boost/unordered_map.hpp>
template <class T> class DummyCriteria {
public:
@@ -72,10 +71,8 @@ struct point_info_t
typedef std::pair<point_info_t*,point_info_t*> edge_t;
void mark_inner_outer(std::vector<struct triangle> &tri, Grid2d<point_info_t> &point_info,
- std::map<edge_t,int> &edge_to_triangle,
- std::map<edge_t,int> &edge_to_path, int idx, bool inner)
-// boost::unordered_map<edge_t,int> &edge_to_triangle,
-// boost::unordered_map<edge_t,int> &edge_to_path, int idx, bool inner)
+ boost::unordered_map<edge_t,int> &edge_to_triangle,
+ boost::unordered_map<edge_t,int> &edge_to_path, int idx, bool inner)
{
if (tri[idx].is_marked)
return;
contact: Jan Huwald // Impressum