diff --git a/Arrangement_on_surface_2/include/CGAL/graph_traits_Arrangement_2.h b/Arrangement_on_surface_2/include/CGAL/graph_traits_Arrangement_2.h index c2f60f80039..f8c9dcdb219 100644 --- a/Arrangement_on_surface_2/include/CGAL/graph_traits_Arrangement_2.h +++ b/Arrangement_on_surface_2/include/CGAL/graph_traits_Arrangement_2.h @@ -33,7 +33,7 @@ */ // include this to avoid a VC15 warning -#include +#include #include #include diff --git a/Arrangement_on_surface_2/include/CGAL/graph_traits_dual_arrangement_2.h b/Arrangement_on_surface_2/include/CGAL/graph_traits_dual_arrangement_2.h index 060db488191..d9bed57a668 100644 --- a/Arrangement_on_surface_2/include/CGAL/graph_traits_dual_arrangement_2.h +++ b/Arrangement_on_surface_2/include/CGAL/graph_traits_dual_arrangement_2.h @@ -34,7 +34,7 @@ */ // include this to avoid a VC15 warning -#include +#include #include #include diff --git a/Arrangement_on_surface_2/include/CGAL/graph_traits_dual_arrangement_on_surface_2.h b/Arrangement_on_surface_2/include/CGAL/graph_traits_dual_arrangement_on_surface_2.h index ac1180a7a6d..767821316db 100644 --- a/Arrangement_on_surface_2/include/CGAL/graph_traits_dual_arrangement_on_surface_2.h +++ b/Arrangement_on_surface_2/include/CGAL/graph_traits_dual_arrangement_on_surface_2.h @@ -34,7 +34,7 @@ */ // include this to avoid a VC15 warning -#include +#include #include #include diff --git a/Arrangement_on_surface_2/include/CGAL/graph_traits_dual_arrangement_on_surface_with_history_2.h b/Arrangement_on_surface_2/include/CGAL/graph_traits_dual_arrangement_on_surface_with_history_2.h index a93ff9f0ed8..0156c854a14 100644 --- a/Arrangement_on_surface_2/include/CGAL/graph_traits_dual_arrangement_on_surface_with_history_2.h +++ b/Arrangement_on_surface_2/include/CGAL/graph_traits_dual_arrangement_on_surface_with_history_2.h @@ -35,7 +35,7 @@ */ // include this to avoid a VC15 warning -#include +#include #include #include diff --git a/Arrangement_on_surface_2/include/CGAL/graph_traits_dual_arrangement_with_history_2.h b/Arrangement_on_surface_2/include/CGAL/graph_traits_dual_arrangement_with_history_2.h index 6ab1c8c5b51..03848de9e1f 100644 --- a/Arrangement_on_surface_2/include/CGAL/graph_traits_dual_arrangement_with_history_2.h +++ b/Arrangement_on_surface_2/include/CGAL/graph_traits_dual_arrangement_with_history_2.h @@ -35,7 +35,7 @@ */ // include this to avoid a VC15 warning -#include +#include #include #include diff --git a/BGL/include/CGAL/boost/graph/Face_filtered_graph.h b/BGL/include/CGAL/boost/graph/Face_filtered_graph.h index b4fbdbdb4b2..cff29691149 100644 --- a/BGL/include/CGAL/boost/graph/Face_filtered_graph.h +++ b/BGL/include/CGAL/boost/graph/Face_filtered_graph.h @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/BGL/include/CGAL/boost/graph/METIS/partition_dual_graph.h b/BGL/include/CGAL/boost/graph/METIS/partition_dual_graph.h index c7f22c5831f..32e99bb34ff 100644 --- a/BGL/include/CGAL/boost/graph/METIS/partition_dual_graph.h +++ b/BGL/include/CGAL/boost/graph/METIS/partition_dual_graph.h @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #include diff --git a/BGL/include/CGAL/boost/graph/METIS/partition_graph.h b/BGL/include/CGAL/boost/graph/METIS/partition_graph.h index 5218268a4ba..48875922720 100644 --- a/BGL/include/CGAL/boost/graph/METIS/partition_graph.h +++ b/BGL/include/CGAL/boost/graph/METIS/partition_graph.h @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include #include diff --git a/BGL/include/CGAL/boost/graph/named_function_params.h b/BGL/include/CGAL/boost/graph/Named_function_parameters.h similarity index 84% rename from BGL/include/CGAL/boost/graph/named_function_params.h rename to BGL/include/CGAL/boost/graph/Named_function_parameters.h index 90b3e0c9575..cd1527a68b0 100644 --- a/BGL/include/CGAL/boost/graph/named_function_params.h +++ b/BGL/include/CGAL/boost/graph/Named_function_parameters.h @@ -27,7 +27,7 @@ #include #define CGAL_BGL_NP_TEMPLATE_PARAMETERS T, typename Tag, typename Base -#define CGAL_BGL_NP_CLASS CGAL::cgal_bgl_named_params +#define CGAL_BGL_NP_CLASS CGAL::Named_function_parameters namespace CGAL { @@ -136,19 +136,19 @@ get_parameter_impl(const Named_params_impl& np, Query_tag tag) template -struct cgal_bgl_named_params +struct Named_function_parameters : internal_np::Named_params_impl { typedef internal_np::Named_params_impl base; - typedef cgal_bgl_named_params self; + typedef Named_function_parameters self; - cgal_bgl_named_params(T v = T()) : base(v) {} - cgal_bgl_named_params(T v, const Base& b) : base(v, b) {} + Named_function_parameters(T v = T()) : base(v) {} + Named_function_parameters(T v, const Base& b) : base(v, b) {} - cgal_bgl_named_params + Named_function_parameters all_default() const { - typedef cgal_bgl_named_params Params; + typedef Named_function_parameters Params; return Params(*this); } @@ -156,10 +156,10 @@ struct cgal_bgl_named_params // used to concatenate several parameters #define CGAL_add_named_parameter(X, Y, Z) \ template \ - cgal_bgl_named_params \ + Named_function_parameters \ Z(const K& k) const \ { \ - typedef cgal_bgl_named_params Params;\ + typedef Named_function_parameters Params;\ return Params(k, *this); \ } #include @@ -168,28 +168,28 @@ struct cgal_bgl_named_params namespace parameters { -cgal_bgl_named_params +Named_function_parameters inline all_default() { - typedef cgal_bgl_named_params Params; + typedef Named_function_parameters Params; return Params(); } template -cgal_bgl_named_params -inline no_parameters(cgal_bgl_named_params) +Named_function_parameters +inline no_parameters(Named_function_parameters) { - typedef cgal_bgl_named_params Params; + typedef Named_function_parameters Params; return Params(); } // define free functions for named parameters #define CGAL_add_named_parameter(X, Y, Z) \ template \ - cgal_bgl_named_params \ + Named_function_parameters \ Z(K const& p) \ { \ - typedef cgal_bgl_named_params Params;\ + typedef Named_function_parameters Params;\ return Params(p); \ } #include @@ -198,7 +198,7 @@ inline no_parameters(cgal_bgl_named_params) // function to extract a parameter template typename internal_np::Get_param, Query_tag>::type -get_parameter(const cgal_bgl_named_params& np, Query_tag tag) +get_parameter(const Named_function_parameters& np, Query_tag tag) { return internal_np::get_parameter_impl(static_cast&>(np), tag); } diff --git a/BGL/include/CGAL/boost/graph/copy_face_graph.h b/BGL/include/CGAL/boost/graph/copy_face_graph.h index 838d0ee5a0a..f221ba45ba6 100644 --- a/BGL/include/CGAL/boost/graph/copy_face_graph.h +++ b/BGL/include/CGAL/boost/graph/copy_face_graph.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include #include @@ -328,8 +328,8 @@ template void copy_face_graph(const SourceMesh& sm, TargetMesh& tm, #ifndef DOXYGEN_RUNNING - const CGAL::cgal_bgl_named_params& np1, - const CGAL::cgal_bgl_named_params& np2 + const CGAL::Named_function_parameters& np1, + const CGAL::Named_function_parameters& np2 #else const NamedParameters1& np1, const NamedParameters2& np2 @@ -361,7 +361,7 @@ void copy_face_graph(const SourceMesh& sm, TargetMesh& tm) template void copy_face_graph(const SourceMesh& sm, TargetMesh& tm, - const CGAL::cgal_bgl_named_params& np) + const CGAL::Named_function_parameters& np) { copy_face_graph(sm, tm, np, parameters::all_default()); } diff --git a/BGL/include/CGAL/boost/graph/dijkstra_shortest_paths.h b/BGL/include/CGAL/boost/graph/dijkstra_shortest_paths.h index 9b5ca5fc66e..265fb0b07dd 100644 --- a/BGL/include/CGAL/boost/graph/dijkstra_shortest_paths.h +++ b/BGL/include/CGAL/boost/graph/dijkstra_shortest_paths.h @@ -23,7 +23,7 @@ #define CGAL_BOOST_GRAPH_DIJKSTRA_SHORTEST_PATHS_H // This will push/pop a VC15 warning -#include +#include #include #include diff --git a/BGL/include/CGAL/boost/graph/graph_traits_OpenMesh.h b/BGL/include/CGAL/boost/graph/graph_traits_OpenMesh.h index 9c624d32537..5a6ad46d9ab 100644 --- a/BGL/include/CGAL/boost/graph/graph_traits_OpenMesh.h +++ b/BGL/include/CGAL/boost/graph/graph_traits_OpenMesh.h @@ -19,7 +19,7 @@ // Author(s) : Andreas Fabri, Philipp Moeller // include this to avoid a VC15 warning -#include +#include #include #include diff --git a/BGL/include/CGAL/boost/graph/io.h b/BGL/include/CGAL/boost/graph/io.h index 431bf45455a..84c2551bb40 100644 --- a/BGL/include/CGAL/boost/graph/io.h +++ b/BGL/include/CGAL/boost/graph/io.h @@ -33,7 +33,7 @@ #include #include #include -#include +#include namespace CGAL { /*! diff --git a/BGL/include/CGAL/boost/graph/named_params_helper.h b/BGL/include/CGAL/boost/graph/named_params_helper.h index 712e0946da8..8c08af7a69e 100644 --- a/BGL/include/CGAL/boost/graph/named_params_helper.h +++ b/BGL/include/CGAL/boost/graph/named_params_helper.h @@ -19,7 +19,7 @@ #ifndef CGAL_BOOST_GRAPH_NAMED_PARAMETERS_HELPERS_H #define CGAL_BOOST_GRAPH_NAMED_PARAMETERS_HELPERS_H -#include +#include #include #include @@ -146,7 +146,7 @@ namespace CGAL { }; template, + typename NamedParametersGT = Named_function_parameters, typename NamedParametersVPM = NamedParametersGT > class GetGeomTraits { @@ -249,7 +249,7 @@ namespace CGAL { namespace parameters { template - cgal_bgl_named_params + Named_function_parameters inline all_default(const PointRange&) { return CGAL::parameters::all_default(); diff --git a/BGL/test/BGL/test_cgal_bgl_named_params.cpp b/BGL/test/BGL/test_cgal_bgl_named_params.cpp index 77a6549dca9..92226344997 100644 --- a/BGL/test/BGL/test_cgal_bgl_named_params.cpp +++ b/BGL/test/BGL/test_cgal_bgl_named_params.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include diff --git a/HalfedgeDS/include/CGAL/boost/graph/graph_traits_HalfedgeDS.h b/HalfedgeDS/include/CGAL/boost/graph/graph_traits_HalfedgeDS.h index b0915a0bc7f..2c6c7170285 100644 --- a/HalfedgeDS/include/CGAL/boost/graph/graph_traits_HalfedgeDS.h +++ b/HalfedgeDS/include/CGAL/boost/graph/graph_traits_HalfedgeDS.h @@ -24,7 +24,7 @@ #include // include this to avoid a VC15 warning -#include +#include #include #include diff --git a/Linear_cell_complex/benchmark/Linear_cell_complex_2/surface_mesh/IO_off.cpp b/Linear_cell_complex/benchmark/Linear_cell_complex_2/surface_mesh/IO_off.cpp index 659a84f5a01..3f77147c898 100644 --- a/Linear_cell_complex/benchmark/Linear_cell_complex_2/surface_mesh/IO_off.cpp +++ b/Linear_cell_complex/benchmark/Linear_cell_complex_2/surface_mesh/IO_off.cpp @@ -24,7 +24,7 @@ #include "IO.h" #include -#include +#include #include //== IMPLEMENTATION =========================================================== diff --git a/Point_set_3/include/CGAL/Point_set_3.h b/Point_set_3/include/CGAL/Point_set_3.h index e93d857a58b..01c0ac7ea01 100644 --- a/Point_set_3/include/CGAL/Point_set_3.h +++ b/Point_set_3/include/CGAL/Point_set_3.h @@ -31,7 +31,7 @@ #include -#include +#include #include @@ -855,13 +855,13 @@ public: #ifdef DOXYGEN_RUNNING unspecified_type #else - cgal_bgl_named_params + Named_function_parameters ::Kernel, internal_np::geom_traits_t, - cgal_bgl_named_params + Named_function_parameters ::template Property_map, internal_np::normal_t, - cgal_bgl_named_params + Named_function_parameters ::template Property_map, internal_np::point_t> > > #endif @@ -1198,13 +1198,13 @@ namespace Point_set_processing_3 namespace parameters { template - cgal_bgl_named_params + Named_function_parameters ::Kernel, internal_np::geom_traits_t, - cgal_bgl_named_params + Named_function_parameters ::template Property_map, internal_np::normal_t, - cgal_bgl_named_params + Named_function_parameters ::template Property_map, internal_np::point_t> > > inline all_default(const CGAL::Point_set_3& ps) diff --git a/Point_set_processing_3/include/CGAL/IO/read_las_points.h b/Point_set_processing_3/include/CGAL/IO/read_las_points.h index 576c1a87cb8..3943d1e48ae 100644 --- a/Point_set_processing_3/include/CGAL/IO/read_las_points.h +++ b/Point_set_processing_3/include/CGAL/IO/read_las_points.h @@ -35,7 +35,7 @@ #include #include -#include +#include #include #include diff --git a/Point_set_processing_3/include/CGAL/IO/read_off_points.h b/Point_set_processing_3/include/CGAL/IO/read_off_points.h index e0486840f98..6a077e86a7a 100644 --- a/Point_set_processing_3/include/CGAL/IO/read_off_points.h +++ b/Point_set_processing_3/include/CGAL/IO/read_off_points.h @@ -31,7 +31,7 @@ #include #include -#include +#include #include #include diff --git a/Point_set_processing_3/include/CGAL/IO/read_ply_points.h b/Point_set_processing_3/include/CGAL/IO/read_ply_points.h index 30348fc9000..d80f3864fc1 100644 --- a/Point_set_processing_3/include/CGAL/IO/read_ply_points.h +++ b/Point_set_processing_3/include/CGAL/IO/read_ply_points.h @@ -36,7 +36,7 @@ #include #include -#include +#include #include #include diff --git a/Point_set_processing_3/include/CGAL/IO/read_xyz_points.h b/Point_set_processing_3/include/CGAL/IO/read_xyz_points.h index 5ef24a364a5..aeb268b6f75 100644 --- a/Point_set_processing_3/include/CGAL/IO/read_xyz_points.h +++ b/Point_set_processing_3/include/CGAL/IO/read_xyz_points.h @@ -30,7 +30,7 @@ #include #include -#include +#include #include #include diff --git a/Point_set_processing_3/include/CGAL/IO/write_ply_points.h b/Point_set_processing_3/include/CGAL/IO/write_ply_points.h index 68e3b761f03..48a02e08977 100644 --- a/Point_set_processing_3/include/CGAL/IO/write_ply_points.h +++ b/Point_set_processing_3/include/CGAL/IO/write_ply_points.h @@ -35,7 +35,7 @@ #include #include -#include +#include #include #include diff --git a/Point_set_processing_3/include/CGAL/IO/write_xyz_points.h b/Point_set_processing_3/include/CGAL/IO/write_xyz_points.h index 6c7554af64e..1841dce9929 100644 --- a/Point_set_processing_3/include/CGAL/IO/write_xyz_points.h +++ b/Point_set_processing_3/include/CGAL/IO/write_xyz_points.h @@ -29,7 +29,7 @@ #include #include -#include +#include #include #include diff --git a/Point_set_processing_3/include/CGAL/bilateral_smooth_point_set.h b/Point_set_processing_3/include/CGAL/bilateral_smooth_point_set.h index 8437688ef94..9076077818c 100644 --- a/Point_set_processing_3/include/CGAL/bilateral_smooth_point_set.h +++ b/Point_set_processing_3/include/CGAL/bilateral_smooth_point_set.h @@ -33,7 +33,7 @@ #include #include -#include +#include #include #include diff --git a/Point_set_processing_3/include/CGAL/compute_average_spacing.h b/Point_set_processing_3/include/CGAL/compute_average_spacing.h index 78cced92c2d..72d3608ca07 100644 --- a/Point_set_processing_3/include/CGAL/compute_average_spacing.h +++ b/Point_set_processing_3/include/CGAL/compute_average_spacing.h @@ -33,7 +33,7 @@ #include #include -#include +#include #include #include diff --git a/Point_set_processing_3/include/CGAL/edge_aware_upsample_point_set.h b/Point_set_processing_3/include/CGAL/edge_aware_upsample_point_set.h index f3d26015eac..ccabf21f918 100644 --- a/Point_set_processing_3/include/CGAL/edge_aware_upsample_point_set.h +++ b/Point_set_processing_3/include/CGAL/edge_aware_upsample_point_set.h @@ -32,7 +32,7 @@ #include #include -#include +#include #include #include diff --git a/Point_set_processing_3/include/CGAL/estimate_scale.h b/Point_set_processing_3/include/CGAL/estimate_scale.h index 86a858f6928..01846f2a2cb 100644 --- a/Point_set_processing_3/include/CGAL/estimate_scale.h +++ b/Point_set_processing_3/include/CGAL/estimate_scale.h @@ -36,7 +36,7 @@ #include #include -#include +#include #include #include diff --git a/Point_set_processing_3/include/CGAL/grid_simplify_point_set.h b/Point_set_processing_3/include/CGAL/grid_simplify_point_set.h index 69f2bcba033..e78762c5cd5 100644 --- a/Point_set_processing_3/include/CGAL/grid_simplify_point_set.h +++ b/Point_set_processing_3/include/CGAL/grid_simplify_point_set.h @@ -33,7 +33,7 @@ #include #include -#include +#include #include #include diff --git a/Point_set_processing_3/include/CGAL/hierarchy_simplify_point_set.h b/Point_set_processing_3/include/CGAL/hierarchy_simplify_point_set.h index 82bbbb96bb6..b5d3de3ede9 100644 --- a/Point_set_processing_3/include/CGAL/hierarchy_simplify_point_set.h +++ b/Point_set_processing_3/include/CGAL/hierarchy_simplify_point_set.h @@ -41,7 +41,7 @@ #include #include -#include +#include #include namespace CGAL { diff --git a/Point_set_processing_3/include/CGAL/jet_estimate_normals.h b/Point_set_processing_3/include/CGAL/jet_estimate_normals.h index eaa72b0c4e9..ebc66c1b24e 100644 --- a/Point_set_processing_3/include/CGAL/jet_estimate_normals.h +++ b/Point_set_processing_3/include/CGAL/jet_estimate_normals.h @@ -34,7 +34,7 @@ #include #include -#include +#include #include #include diff --git a/Point_set_processing_3/include/CGAL/jet_smooth_point_set.h b/Point_set_processing_3/include/CGAL/jet_smooth_point_set.h index 2de27622ff5..d7a520285cc 100644 --- a/Point_set_processing_3/include/CGAL/jet_smooth_point_set.h +++ b/Point_set_processing_3/include/CGAL/jet_smooth_point_set.h @@ -33,7 +33,7 @@ #include #include -#include +#include #include #include diff --git a/Point_set_processing_3/include/CGAL/mst_orient_normals.h b/Point_set_processing_3/include/CGAL/mst_orient_normals.h index 77d848ea239..1ce8b74bc4f 100644 --- a/Point_set_processing_3/include/CGAL/mst_orient_normals.h +++ b/Point_set_processing_3/include/CGAL/mst_orient_normals.h @@ -35,7 +35,7 @@ #include #include -#include +#include #include #include diff --git a/Point_set_processing_3/include/CGAL/pca_estimate_normals.h b/Point_set_processing_3/include/CGAL/pca_estimate_normals.h index 220389d6118..ae1d11f05d8 100644 --- a/Point_set_processing_3/include/CGAL/pca_estimate_normals.h +++ b/Point_set_processing_3/include/CGAL/pca_estimate_normals.h @@ -35,7 +35,7 @@ #include #include -#include +#include #include #include diff --git a/Point_set_processing_3/include/CGAL/random_simplify_point_set.h b/Point_set_processing_3/include/CGAL/random_simplify_point_set.h index b8137129d57..353c2c16a62 100644 --- a/Point_set_processing_3/include/CGAL/random_simplify_point_set.h +++ b/Point_set_processing_3/include/CGAL/random_simplify_point_set.h @@ -31,7 +31,7 @@ #include #include -#include +#include #include #include diff --git a/Point_set_processing_3/include/CGAL/remove_outliers.h b/Point_set_processing_3/include/CGAL/remove_outliers.h index 77f2779dee5..dbd3dd54ba0 100644 --- a/Point_set_processing_3/include/CGAL/remove_outliers.h +++ b/Point_set_processing_3/include/CGAL/remove_outliers.h @@ -31,7 +31,7 @@ #include #include -#include +#include #include #include diff --git a/Point_set_processing_3/include/CGAL/structure_point_set.h b/Point_set_processing_3/include/CGAL/structure_point_set.h index 7534d6d503d..be295e59d5d 100644 --- a/Point_set_processing_3/include/CGAL/structure_point_set.h +++ b/Point_set_processing_3/include/CGAL/structure_point_set.h @@ -42,7 +42,7 @@ #include #include -#include +#include #include #include diff --git a/Point_set_processing_3/include/CGAL/vcm_estimate_normals.h b/Point_set_processing_3/include/CGAL/vcm_estimate_normals.h index 8efb91adfbe..4d6d5f11159 100644 --- a/Point_set_processing_3/include/CGAL/vcm_estimate_normals.h +++ b/Point_set_processing_3/include/CGAL/vcm_estimate_normals.h @@ -38,7 +38,7 @@ #include #include -#include +#include #include #include diff --git a/Point_set_processing_3/include/CGAL/wlop_simplify_and_regularize_point_set.h b/Point_set_processing_3/include/CGAL/wlop_simplify_and_regularize_point_set.h index 7e78e9e1ed8..b00bc57961a 100644 --- a/Point_set_processing_3/include/CGAL/wlop_simplify_and_regularize_point_set.h +++ b/Point_set_processing_3/include/CGAL/wlop_simplify_and_regularize_point_set.h @@ -32,7 +32,7 @@ #include #include -#include +#include #include #include #include diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/connected_components.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/connected_components.h index 6fac483289b..35b6943731e 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/connected_components.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/connected_components.h @@ -29,7 +29,7 @@ #include #include -#include +#include #include #include #include diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/extrude.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/extrude.h index 695f63e9de8..16f2544fee7 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/extrude.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/extrude.h @@ -28,7 +28,7 @@ #include #include -#include +#include #include #include #include diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/named_function_params.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/named_function_params.h index 2379bbf48a4..93471268e55 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/named_function_params.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/named_function_params.h @@ -25,7 +25,7 @@ #include -#include +#include #define CGAL_PMP_NP_TEMPLATE_PARAMETERS CGAL_BGL_NP_TEMPLATE_PARAMETERS #define CGAL_PMP_NP_CLASS CGAL_BGL_NP_CLASS diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/intersection.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/intersection.h index f27a4a70382..1b575939b5e 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/intersection.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/intersection.h @@ -1609,7 +1609,7 @@ OutputIterator intersecting_meshes(const TriangleMeshRange& range, OutputIterator out, NamedParameters np) { - std::vector >nps( + std::vector >nps( std::distance(range.begin(), range.end()), parameters::all_default()); return intersecting_meshes(range, out, np, nps); } diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/self_intersections.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/self_intersections.h index 8a89cafb6d7..ae5df41a9fe 100644 --- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/self_intersections.h +++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/self_intersections.h @@ -273,7 +273,7 @@ self_intersections(const TriangleMesh& tmesh #ifdef DOXYGEN_RUNNING , const NamedParameters& np) #else - , const cgal_bgl_named_params& np) + , const Named_function_parameters& np) #endif { return self_intersections(faces(tmesh), tmesh, out, np); diff --git a/Polyhedron/demo/Polyhedron/include/Point_set_3.h b/Polyhedron/demo/Polyhedron/include/Point_set_3.h index 8697f75c2cf..c616054544c 100644 --- a/Polyhedron/demo/Polyhedron/include/Point_set_3.h +++ b/Polyhedron/demo/Polyhedron/include/Point_set_3.h @@ -477,13 +477,13 @@ public: bool are_radii_uptodate() const { return m_radii_are_uptodate; } void set_radii_uptodate(bool /*on*/) { m_radii_are_uptodate = false; } - CGAL::cgal_bgl_named_params + CGAL::Named_function_parameters , CGAL::internal_np::normal_t, - CGAL::cgal_bgl_named_params + CGAL::Named_function_parameters , CGAL::internal_np::point_t> > > inline parameters() const @@ -570,13 +570,13 @@ namespace Point_set_processing_3 namespace parameters { template - cgal_bgl_named_params + Named_function_parameters ::template Property_map, internal_np::normal_t, - cgal_bgl_named_params + Named_function_parameters ::template Property_map, internal_np::point_t> > > inline all_default(const ::Point_set_3& ps) diff --git a/Polyhedron_IO/include/CGAL/IO/Polyhedron_iostream.h b/Polyhedron_IO/include/CGAL/IO/Polyhedron_iostream.h index 9d58faadf32..a0aad3117c6 100644 --- a/Polyhedron_IO/include/CGAL/IO/Polyhedron_iostream.h +++ b/Polyhedron_IO/include/CGAL/IO/Polyhedron_iostream.h @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include namespace CGAL { diff --git a/Polyhedron_IO/include/CGAL/IO/generic_print_polyhedron.h b/Polyhedron_IO/include/CGAL/IO/generic_print_polyhedron.h index eae9c811ca0..3eb28ea1a5a 100644 --- a/Polyhedron_IO/include/CGAL/IO/generic_print_polyhedron.h +++ b/Polyhedron_IO/include/CGAL/IO/generic_print_polyhedron.h @@ -24,7 +24,7 @@ #include -#include +#include #include #include #include diff --git a/Scripts/developer_scripts/update_to_CGAL_np.sh b/Scripts/developer_scripts/update_to_CGAL_np.sh index 16ee673181a..5e437b461e3 100644 --- a/Scripts/developer_scripts/update_to_CGAL_np.sh +++ b/Scripts/developer_scripts/update_to_CGAL_np.sh @@ -5,6 +5,8 @@ ack -l --cpp boost::param_not_found | xargs sed -i 's/boost::param_not_found/int ack -l --cpp boost::is_default_param | xargs sed -i 's/boost::is_default_param/parameters::is_default_parameter/g' ack -l --cpp boost::get_param | xargs sed -i 's/boost::get_param/parameters::get_parameter/g' ack -l --cpp boost::choose_param | xargs sed -i 's/boost::choose_param/parameters::choose_parameter/g' +ack -l --cpp cgal_bgl_named_params | xargs sed -i 's/cgal_bgl_named_params/Named_function_parameters/g' + ack -l --cpp choose_param | xargs sed -i -E 's/choose_param[ ]*\(/choose_parameter(/g' ack -l --cpp get_param | xargs sed -i -E 's/get_param[ ]*\(/get_parameter(/g' diff --git a/Subdivision_method_3/include/CGAL/Subdivision_method_3/subdivision_hosts_3.h b/Subdivision_method_3/include/CGAL/Subdivision_method_3/subdivision_hosts_3.h index 26b55c5f67a..cbd5379639c 100644 --- a/Subdivision_method_3/include/CGAL/Subdivision_method_3/subdivision_hosts_3.h +++ b/Subdivision_method_3/include/CGAL/Subdivision_method_3/subdivision_hosts_3.h @@ -31,7 +31,7 @@ #include -#include +#include #include #include diff --git a/Subdivision_method_3/include/CGAL/Subdivision_method_3/subdivision_methods_3.h b/Subdivision_method_3/include/CGAL/Subdivision_method_3/subdivision_methods_3.h index 51119a06f73..bd26f92897d 100644 --- a/Subdivision_method_3/include/CGAL/Subdivision_method_3/subdivision_methods_3.h +++ b/Subdivision_method_3/include/CGAL/Subdivision_method_3/subdivision_methods_3.h @@ -29,7 +29,7 @@ #include -#include +#include #include #include diff --git a/Surface_mesh/include/CGAL/Surface_mesh/Surface_mesh.h b/Surface_mesh/include/CGAL/Surface_mesh/Surface_mesh.h index 9eb49843597..def780ac178 100644 --- a/Surface_mesh/include/CGAL/Surface_mesh/Surface_mesh.h +++ b/Surface_mesh/include/CGAL/Surface_mesh/Surface_mesh.h @@ -56,7 +56,7 @@ #include #include #include -#include +#include namespace CGAL { diff --git a/Surface_mesh/include/CGAL/boost/graph/graph_traits_Surface_mesh.h b/Surface_mesh/include/CGAL/boost/graph/graph_traits_Surface_mesh.h index f42cd99887e..34d6fdeaeca 100644 --- a/Surface_mesh/include/CGAL/boost/graph/graph_traits_Surface_mesh.h +++ b/Surface_mesh/include/CGAL/boost/graph/graph_traits_Surface_mesh.h @@ -26,7 +26,7 @@ #include // include this to avoid a VC15 warning -#include +#include #include #include diff --git a/Surface_mesh_segmentation/include/CGAL/internal/Surface_mesh_segmentation/Alpha_expansion_graph_cut.h b/Surface_mesh_segmentation/include/CGAL/internal/Surface_mesh_segmentation/Alpha_expansion_graph_cut.h index 17b8a2c53c8..bda22c32d48 100644 --- a/Surface_mesh_segmentation/include/CGAL/internal/Surface_mesh_segmentation/Alpha_expansion_graph_cut.h +++ b/Surface_mesh_segmentation/include/CGAL/internal/Surface_mesh_segmentation/Alpha_expansion_graph_cut.h @@ -47,7 +47,7 @@ #endif #include -#include +#include #include #ifdef CGAL_DO_NOT_USE_BOYKOV_KOLMOGOROV_MAXFLOW_SOFTWARE diff --git a/Surface_mesh_simplification/include/CGAL/Surface_mesh_simplification/edge_collapse.h b/Surface_mesh_simplification/include/CGAL/Surface_mesh_simplification/edge_collapse.h index 38563ddbada..a84aa262923 100644 --- a/Surface_mesh_simplification/include/CGAL/Surface_mesh_simplification/edge_collapse.h +++ b/Surface_mesh_simplification/include/CGAL/Surface_mesh_simplification/edge_collapse.h @@ -24,7 +24,7 @@ #include -#include +#include #include #include @@ -102,7 +102,7 @@ struct Dummy_visitor template int edge_collapse ( TM& aSurface , ShouldStop const& aShould_stop - , cgal_bgl_named_params const& aParams + , Named_function_parameters const& aParams ) { using parameters::choose_parameter; @@ -127,7 +127,7 @@ int edge_collapse ( TM& aSurface template int edge_collapse ( TM& aSurface , ShouldStop const& aShould_stop - , cgal_bgl_named_params const& aParams + , Named_function_parameters const& aParams ) { using parameters::choose_parameter; diff --git a/Triangulation_2/include/CGAL/boost/graph/graph_traits_Constrained_Delaunay_triangulation_2.h b/Triangulation_2/include/CGAL/boost/graph/graph_traits_Constrained_Delaunay_triangulation_2.h index 9c9180d3135..af848b05868 100644 --- a/Triangulation_2/include/CGAL/boost/graph/graph_traits_Constrained_Delaunay_triangulation_2.h +++ b/Triangulation_2/include/CGAL/boost/graph/graph_traits_Constrained_Delaunay_triangulation_2.h @@ -22,7 +22,7 @@ #define CGAL_GRAPH_TRAITS_CONSTRAINED_DELAUNAY_TRIANGULATION_2_H // include this to avoid a VC15 warning -#include +#include #include #include diff --git a/Triangulation_2/include/CGAL/boost/graph/graph_traits_Constrained_triangulation_2.h b/Triangulation_2/include/CGAL/boost/graph/graph_traits_Constrained_triangulation_2.h index f235ef1e975..71c2595be71 100644 --- a/Triangulation_2/include/CGAL/boost/graph/graph_traits_Constrained_triangulation_2.h +++ b/Triangulation_2/include/CGAL/boost/graph/graph_traits_Constrained_triangulation_2.h @@ -22,7 +22,7 @@ #define CGAL_GRAPH_TRAITS_CONSTRAINED_TRIANGULATION_2_H // include this to avoid a VC15 warning -#include +#include #include #include diff --git a/Triangulation_2/include/CGAL/boost/graph/graph_traits_Constrained_triangulation_plus_2.h b/Triangulation_2/include/CGAL/boost/graph/graph_traits_Constrained_triangulation_plus_2.h index 5d35c80e748..86830b254e4 100644 --- a/Triangulation_2/include/CGAL/boost/graph/graph_traits_Constrained_triangulation_plus_2.h +++ b/Triangulation_2/include/CGAL/boost/graph/graph_traits_Constrained_triangulation_plus_2.h @@ -22,7 +22,7 @@ #define CGAL_GRAPH_TRAITS_CONSTRAINED_TRIANGULATION_PLUS_2_H // include this to avoid a VC15 warning -#include +#include #include #include diff --git a/Triangulation_2/include/CGAL/boost/graph/graph_traits_Delaunay_triangulation_2.h b/Triangulation_2/include/CGAL/boost/graph/graph_traits_Delaunay_triangulation_2.h index 4ce347b7e6f..868b4c365db 100644 --- a/Triangulation_2/include/CGAL/boost/graph/graph_traits_Delaunay_triangulation_2.h +++ b/Triangulation_2/include/CGAL/boost/graph/graph_traits_Delaunay_triangulation_2.h @@ -22,7 +22,7 @@ #define CGAL_GRAPH_TRAITS_DELAUNAY_TRIANGULATION_2_H // include this to avoid a VC15 warning -#include +#include #include #include diff --git a/Triangulation_2/include/CGAL/boost/graph/graph_traits_Regular_triangulation_2.h b/Triangulation_2/include/CGAL/boost/graph/graph_traits_Regular_triangulation_2.h index 6c5fc6c41c6..e2900ca5d3d 100644 --- a/Triangulation_2/include/CGAL/boost/graph/graph_traits_Regular_triangulation_2.h +++ b/Triangulation_2/include/CGAL/boost/graph/graph_traits_Regular_triangulation_2.h @@ -22,7 +22,7 @@ #define CGAL_GRAPH_TRAITS_REGULAR_TRIANGULATION_2_H // include this to avoid a VC15 warning -#include +#include #include #include diff --git a/Triangulation_2/include/CGAL/boost/graph/graph_traits_Triangulation_2.h b/Triangulation_2/include/CGAL/boost/graph/graph_traits_Triangulation_2.h index 0a901850a6d..9d5685647e0 100644 --- a/Triangulation_2/include/CGAL/boost/graph/graph_traits_Triangulation_2.h +++ b/Triangulation_2/include/CGAL/boost/graph/graph_traits_Triangulation_2.h @@ -24,7 +24,7 @@ #include // include this to avoid a VC15 warning -#include +#include #include #include #include diff --git a/Triangulation_2/include/CGAL/boost/graph/graph_traits_Triangulation_data_structure_2.h b/Triangulation_2/include/CGAL/boost/graph/graph_traits_Triangulation_data_structure_2.h index 4a79b2f69ef..fee7dcc69b2 100644 --- a/Triangulation_2/include/CGAL/boost/graph/graph_traits_Triangulation_data_structure_2.h +++ b/Triangulation_2/include/CGAL/boost/graph/graph_traits_Triangulation_data_structure_2.h @@ -24,7 +24,7 @@ #include // include this to avoid a VC15 warning -#include +#include #include #include diff --git a/Triangulation_2/include/CGAL/boost/graph/graph_traits_Triangulation_hierarchy_2.h b/Triangulation_2/include/CGAL/boost/graph/graph_traits_Triangulation_hierarchy_2.h index dd24d64a7ae..615b81d3640 100644 --- a/Triangulation_2/include/CGAL/boost/graph/graph_traits_Triangulation_hierarchy_2.h +++ b/Triangulation_2/include/CGAL/boost/graph/graph_traits_Triangulation_hierarchy_2.h @@ -22,7 +22,7 @@ #define CGAL_GRAPH_TRAITS_TRIANGULATION_HIERARCHY_2_H // include this to avoid a VC15 warning -#include +#include #include #include