mirror of https://github.com/CGAL/cgal
Merge pull request #4277 from MaelRL/PMP-Locate_rework_traits-GF
PMP: Replace `Location_traits` by a simpler API
This commit is contained in:
commit
6a2e40f814
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue