diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-08-19 12:31:23 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-08-19 12:31:23 (GMT) |
commit | 702525f69c0c9b7dbeb9f07efd4d9acaf9ead65d (patch) | |
tree | 5f464d1bf7b63c29fc9d9f9c51fa2db1454fedda /src/dxftess-cgal.cc | |
parent | ca03eec8404d36e6261f7a10ef93a528c083a09c (diff) |
cleanup for pull request
Diffstat (limited to 'src/dxftess-cgal.cc')
-rw-r--r-- | src/dxftess-cgal.cc | 9 |
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; |