diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_slicer.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_slicer.h index 0467e2d2013..af853822fde 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_slicer.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_slicer.h @@ -39,6 +39,8 @@ #include #include +#include +#include #include @@ -85,7 +87,13 @@ template::type, class AABBTree = AABB_tree< AABB_traits > >, + AABB_halfedge_graph_segment_primitive::type >::type, + Default, + VertexPointMap>::type> > >, bool UseParallelPlaneOptimization=true> class Polygon_mesh_slicer { @@ -299,6 +307,9 @@ class Polygon_mesh_slicer public: + /// the AABB-tree type used internally + typedef AABBTree AABB_tree; + /** * Constructor using `edges(tmesh)` to initialize the * internal `AABB_tree`.