diff --git a/AABB_tree/doc/AABB_tree/PackageDescription.txt b/AABB_tree/doc/AABB_tree/PackageDescription.txt index eebd2bd7a0b..c70c2ab611a 100644 --- a/AABB_tree/doc/AABB_tree/PackageDescription.txt +++ b/AABB_tree/doc/AABB_tree/PackageDescription.txt @@ -36,6 +36,6 @@ - `CGAL::AABB_triangle_primitive` - `CGAL::AABB_segment_primitive` - `CGAL::AABB_primitive` -- `CGAL::AABB_halfedge_graph_segment_primitive` -- `CGAL::AABB_face_graph_triangle_primitive` +- `CGAL::AABB_halfedge_graph_segment_primitive` +- `CGAL::AABB_face_graph_triangle_primitive` */ diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_slicer.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_slicer.h index b9cba19d237..b3dc43477a5 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 #include @@ -86,7 +88,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 { @@ -393,6 +401,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`.