Merge pull request #4277 from MaelRL/PMP-Locate_rework_traits-GF

PMP: Replace `Location_traits` by a simpler API
This commit is contained in:
Laurent Rineau 2019-11-06 17:45:37 +01:00
commit 6a2e40f814
1 changed files with 2 additions and 2 deletions

View File

@ -605,8 +605,7 @@ struct Locate_with_AABB_tree_Tester<K, VPM, 3> // 3D
typedef typename K::FT FT;
typedef typename K::Ray_3 Ray_3;
typedef typename K::Point_3 Point_3;
typedef typename boost::graph_traits<G>::vertex_descriptor vertex_descriptor;
typedef typename boost::graph_traits<G>::halfedge_descriptor halfedge_descriptor;
typedef typename boost::graph_traits<G>::face_descriptor face_descriptor;
@ -621,6 +620,7 @@ struct Locate_with_AABB_tree_Tester<K, VPM, 3> // 3D
typedef CGAL::AABB_face_graph_triangle_primitive<G, VPM> AABB_face_graph_primitive;
typedef CGAL::AABB_traits<K, AABB_face_graph_primitive> AABB_face_graph_traits;
CGAL_assertion_code(typedef typename K::Point_3 Point_3;)
CGAL_static_assertion((std::is_same<typename AABB_face_graph_traits::Point_3, Point_3>::value));
CGAL::AABB_tree<AABB_face_graph_traits> tree_a;