diff --git a/BGL/doc/BGL/NamedParameters.txt b/BGL/doc/BGL/NamedParameters.txt
index 5a6149f26ce..8fad0e16910 100644
--- a/BGL/doc/BGL/NamedParameters.txt
+++ b/BGL/doc/BGL/NamedParameters.txt
@@ -24,7 +24,7 @@ The named parameters in the snippet use the tags `predecessor_map` and `distance
and they are concatenated using the dot operator.
A similar mechanism was introduced in \cgal, with the small difference that the named parameters
-tag live in the `CGAL::parameters::` namespace and `CGAL::parameters::use_default_values()` can be used to indicate
+tag live in the `CGAL::parameters::` namespace and `CGAL::parameters::default_values()` can be used to indicate
that default values of optional named parameters must be used.
As in the \bgl, named parameters in \cgal are also concatenated using
the dot operator, and a typical usage is thus:
@@ -40,7 +40,7 @@ CGAL::copy_face_graph(g1, g2);
CGAL::copy_face_graph(g1, g2,
CGAL::parameters::vertex_point_map(vpm) //parameter for g1
.vertex_to_vertex_map(v2v), //other parameter for g1
- CGAL::parameters::use_default_values()); //parameter for g2
+ CGAL::parameters::default_values()); //parameter for g2
\endcode
*/
diff --git a/BGL/doc/BGL/PackageDescription.txt b/BGL/doc/BGL/PackageDescription.txt
index 16117666e7c..22d3836facb 100644
--- a/BGL/doc/BGL/PackageDescription.txt
+++ b/BGL/doc/BGL/PackageDescription.txt
@@ -683,7 +683,7 @@ user might encounter.
- `CGAL::set_triangulation_ids()`
-- `CGAL::parameters::use_default_values()`
+- `CGAL::parameters::default_values()`
\cgalCRPSection{Iterators}
- `CGAL::Halfedge_around_source_iterator`
diff --git a/BGL/include/CGAL/boost/graph/Face_filtered_graph.h b/BGL/include/CGAL/boost/graph/Face_filtered_graph.h
index 0fe138b4f44..f0bdc4fb9c1 100644
--- a/BGL/include/CGAL/boost/graph/Face_filtered_graph.h
+++ b/BGL/include/CGAL/boost/graph/Face_filtered_graph.h
@@ -149,7 +149,7 @@ struct Face_filtered_graph
*/
template
Face_filtered_graph(const Graph& graph,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values())
: _graph(const_cast(graph))
, fimap(CGAL::get_initialized_face_index_map(graph, np))
, vimap(CGAL::get_initialized_vertex_index_map(graph, np))
diff --git a/BGL/include/CGAL/boost/graph/IO/GOCAD.h b/BGL/include/CGAL/boost/graph/IO/GOCAD.h
index 0b6df5f1203..2e7af0193e5 100644
--- a/BGL/include/CGAL/boost/graph/IO/GOCAD.h
+++ b/BGL/include/CGAL/boost/graph/IO/GOCAD.h
@@ -112,7 +112,7 @@ template & name_and_color,
Graph& g,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::disable_if >::type* = nullptr
#endif
@@ -134,7 +134,7 @@ bool read_GOCAD(std::istream& is,
/// \cond SKIP_IN_MANUAL
template
-bool read_GOCAD(std::istream& is, Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values(),
+bool read_GOCAD(std::istream& is, Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::default_values(),
typename boost::disable_if >::type* = nullptr)
{
std::pair dummy;
@@ -186,7 +186,7 @@ template & name_and_color,
Graph& g,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::disable_if >::type* = nullptr
#endif
@@ -200,7 +200,7 @@ bool read_GOCAD(const std::string& fname,
/// \cond SKIP_IN_MANUAL
template
-bool read_GOCAD(const std::string& fname, Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values(),
+bool read_GOCAD(const std::string& fname, Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::default_values(),
typename boost::disable_if >::type* = nullptr)
{
std::pair dummy;
@@ -249,7 +249,7 @@ template >::type* = nullptr
#endif
@@ -345,7 +345,7 @@ template
bool write_GOCAD(std::ostream& os,
const Graph& g,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::disable_if >::type* = nullptr
#endif
@@ -390,7 +390,7 @@ template
bool write_GOCAD(const std::string& fname,
const Graph& g,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::disable_if >::type* = nullptr
#endif
diff --git a/BGL/include/CGAL/boost/graph/IO/Generic_facegraph_builder.h b/BGL/include/CGAL/boost/graph/IO/Generic_facegraph_builder.h
index 9e445ff07a9..c5249e4db75 100644
--- a/BGL/include/CGAL/boost/graph/IO/Generic_facegraph_builder.h
+++ b/BGL/include/CGAL/boost/graph/IO/Generic_facegraph_builder.h
@@ -39,7 +39,7 @@ public:
Generic_facegraph_builder(std::istream& in_) : m_is(in_) { }
template
- bool operator()(Graph& g, const NamedParameters& np = parameters::use_default_values())
+ bool operator()(Graph& g, const NamedParameters& np = parameters::default_values())
{
typedef typename GetK::Kernel Kernel;
typedef typename Kernel::Vector_3 Vector;
diff --git a/BGL/include/CGAL/boost/graph/IO/Generic_facegraph_printer.h b/BGL/include/CGAL/boost/graph/IO/Generic_facegraph_printer.h
index 5931161c0e4..4774e6b693f 100644
--- a/BGL/include/CGAL/boost/graph/IO/Generic_facegraph_printer.h
+++ b/BGL/include/CGAL/boost/graph/IO/Generic_facegraph_printer.h
@@ -90,7 +90,7 @@ public:
template
bool operator()(const Graph& g,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
typedef typename GetVertexPointMap::const_type VPM;
typedef typename boost::property_traits::reference Point_ref;
diff --git a/BGL/include/CGAL/boost/graph/IO/INP.h b/BGL/include/CGAL/boost/graph/IO/INP.h
index 1a49bc6d0eb..229b696f830 100644
--- a/BGL/include/CGAL/boost/graph/IO/INP.h
+++ b/BGL/include/CGAL/boost/graph/IO/INP.h
@@ -32,7 +32,7 @@ bool write_INP(std::ostream& os,
const std::string& name,
const std::string& type,
const Graph& g,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
typedef typename boost::graph_traits::vertex_descriptor vertex_descriptor;
typedef typename boost::graph_traits::face_descriptor face_descriptor;
@@ -80,7 +80,7 @@ template
bool write_INP(const std::string& fname,
const std::string& type,
const Graph& g,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values() )
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values() )
{
std::ofstream os(fname);
return write_INP(os, fname, type, g, np);
@@ -92,7 +92,7 @@ CGAL_DEPRECATED bool write_inp(std::ostream& os,
const FaceGraph& g,
std::string name,
std::string type,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
return write_INP(os, name, type, g, np);
}
diff --git a/BGL/include/CGAL/boost/graph/IO/OBJ.h b/BGL/include/CGAL/boost/graph/IO/OBJ.h
index 2b22730ace7..85e9197be34 100644
--- a/BGL/include/CGAL/boost/graph/IO/OBJ.h
+++ b/BGL/include/CGAL/boost/graph/IO/OBJ.h
@@ -107,7 +107,7 @@ template
bool read_OBJ(std::istream& is,
Graph& g,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::disable_if >::type* = nullptr
#endif
@@ -163,7 +163,7 @@ template
bool read_OBJ(const std::string& fname,
Graph& g,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::disable_if >::type* = nullptr
#endif
@@ -215,7 +215,7 @@ template
bool write_OBJ(std::ostream& os,
const Graph& g,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::disable_if >::type* = nullptr
#endif
@@ -261,7 +261,7 @@ template
bool write_OBJ(const std::string& fname,
const Graph& g,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::disable_if >::type* = nullptr
#endif
diff --git a/BGL/include/CGAL/boost/graph/IO/OFF.h b/BGL/include/CGAL/boost/graph/IO/OFF.h
index 2ab0f9e0ab5..184ee592df4 100644
--- a/BGL/include/CGAL/boost/graph/IO/OFF.h
+++ b/BGL/include/CGAL/boost/graph/IO/OFF.h
@@ -153,7 +153,7 @@ template
bool read_OFF(std::istream& is,
Graph& g,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::disable_if >::type* = nullptr
#endif
@@ -237,7 +237,7 @@ template
bool read_OFF(const std::string& fname,
Graph& g,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::disable_if >::type* = nullptr
#endif
@@ -257,7 +257,7 @@ bool read_OFF(const std::string& fname,
\deprecated This function is deprecated since \cgal 5.3, `CGAL::IO::read_OFF()` should be used instead.
*/
template
-CGAL_DEPRECATED bool read_off(std::istream& is, Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+CGAL_DEPRECATED bool read_off(std::istream& is, Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
return IO::read_OFF(is, g, np);
}
@@ -268,7 +268,7 @@ CGAL_DEPRECATED bool read_off(std::istream& is, Graph& g, const CGAL_BGL_NP_CLAS
\deprecated This function is deprecated since \cgal 5.3, `CGAL::IO::read_OFF()` should be used instead.
*/
template
-CGAL_DEPRECATED bool read_off(const char* fname, Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+CGAL_DEPRECATED bool read_off(const char* fname, Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
return IO::read_OFF(fname, g, np);
}
@@ -358,7 +358,7 @@ template
bool write_OFF(std::ostream& os,
const Graph& g,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::disable_if >::type* = nullptr
#endif
@@ -432,7 +432,7 @@ template
bool write_OFF(const std::string& fname,
const Graph& g,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::disable_if >::type* = nullptr
#endif
@@ -458,7 +458,7 @@ bool write_OFF(const std::string& fname,
\deprecated This function is deprecated since \cgal 5.3, `CGAL::IO::write_OFF()` should be used instead.
*/
template
-CGAL_DEPRECATED bool write_off(std::ostream& os, const Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+CGAL_DEPRECATED bool write_off(std::ostream& os, const Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
return IO::write_OFF(os, g, np);
}
@@ -469,7 +469,7 @@ CGAL_DEPRECATED bool write_off(std::ostream& os, const Graph& g, const CGAL_BGL_
\deprecated This function is deprecated since \cgal 5.3, `CGAL::IO::write_OFF()` should be used instead.
*/
template
-CGAL_DEPRECATED bool write_off(const char* fname, const Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+CGAL_DEPRECATED bool write_off(const char* fname, const Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
return IO::write_OFF(fname, g, np);
}
diff --git a/BGL/include/CGAL/boost/graph/IO/PLY.h b/BGL/include/CGAL/boost/graph/IO/PLY.h
index 50fff6c4f07..75641130b13 100644
--- a/BGL/include/CGAL/boost/graph/IO/PLY.h
+++ b/BGL/include/CGAL/boost/graph/IO/PLY.h
@@ -61,7 +61,7 @@ public:
template
bool read_PLY_BGL(std::istream& is,
Graph& g,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
typedef typename CGAL::GetVertexPointMap::type VPM;
typedef typename boost::property_traits::value_type Point;
@@ -134,7 +134,7 @@ template
bool read_PLY(std::istream& is,
Graph& g,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::disable_if >::type* = nullptr
#endif
@@ -209,7 +209,7 @@ template
bool read_PLY(const std::string& fname,
Graph& g,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::disable_if >::type* = nullptr
#endif
@@ -296,7 +296,7 @@ template
bool write_PLY(std::ostream& os,
const Graph& g,
const std::string& comments,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::disable_if >::type* = nullptr
#endif
@@ -420,7 +420,7 @@ bool write_PLY(std::ostream& os,
/// \cond SKIP_IN_MANUAL
template
-bool write_PLY(std::ostream& os, const Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values(),
+bool write_PLY(std::ostream& os, const Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::default_values(),
typename boost::disable_if >::type* = nullptr)
{
return write_PLY(os, g, std::string(), np);
@@ -492,7 +492,7 @@ template
bool write_PLY(const std::string& fname,
const Graph& g,
const std::string& comments,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::disable_if >::type* = nullptr
#endif
@@ -517,7 +517,7 @@ bool write_PLY(const std::string& fname,
/// \cond SKIP_IN_MANUAL
template
-bool write_PLY(const std::string& fname, const Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values(),
+bool write_PLY(const std::string& fname, const Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::default_values(),
typename boost::disable_if >::type* = nullptr)
{
return write_PLY(fname, g, std::string(), np);
diff --git a/BGL/include/CGAL/boost/graph/IO/STL.h b/BGL/include/CGAL/boost/graph/IO/STL.h
index 3459917ad43..7a3f9038ccd 100644
--- a/BGL/include/CGAL/boost/graph/IO/STL.h
+++ b/BGL/include/CGAL/boost/graph/IO/STL.h
@@ -158,7 +158,7 @@ bool read_STL(std::istream& is,
template
bool read_STL(const std::string& fname,
Graph& g, const
- CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
@@ -230,7 +230,7 @@ bool read_STL(const std::string& fname,
template
bool write_STL(std::ostream& os,
const Graph& g,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
typedef typename boost::graph_traits::halfedge_descriptor halfedge_descriptor;
typedef typename boost::graph_traits::face_descriptor face_descriptor;
@@ -345,7 +345,7 @@ bool write_STL(std::ostream& os,
\sa Overloads of this function for specific models of the concept `FaceGraph`.
*/
template
-bool write_STL(const std::string& fname, const Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+bool write_STL(const std::string& fname, const Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
const bool binary = CGAL::parameters::choose_parameter(CGAL::parameters::get_parameter(np, internal_np::use_binary_mode), true);
if(binary)
diff --git a/BGL/include/CGAL/boost/graph/IO/VTK.h b/BGL/include/CGAL/boost/graph/IO/VTK.h
index 5bd4985b905..fd4aa657afa 100644
--- a/BGL/include/CGAL/boost/graph/IO/VTK.h
+++ b/BGL/include/CGAL/boost/graph/IO/VTK.h
@@ -143,7 +143,7 @@ template
bool read_VTP(const std::string& fname,
Graph& g,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
std::ifstream test(fname);
if(!test.good())
@@ -415,7 +415,7 @@ void write_polys_points(std::ostream& os,
template
bool write_VTP(std::ostream& os,
const Graph& g,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
using parameters::get_parameter;
using parameters::choose_parameter;
@@ -512,7 +512,7 @@ bool write_VTP(std::ostream& os,
* \returns `true` if writing was successful, `false` otherwise.
*/
template
-bool write_VTP(const std::string& fname, const Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+bool write_VTP(const std::string& fname, const Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
const bool binary = CGAL::parameters::choose_parameter(CGAL::parameters::get_parameter(np, internal_np::use_binary_mode), true);
std::ofstream os;
@@ -537,7 +537,7 @@ bool write_VTP(const std::string& fname, const Graph& g, const CGAL_BGL_NP_CLASS
\deprecated This function is deprecated since \cgal 5.3, `CGAL::IO::write_VTP()` should be used instead.
*/
template
-CGAL_DEPRECATED bool write_vtp(std::ostream& os, const Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+CGAL_DEPRECATED bool write_vtp(std::ostream& os, const Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
return IO::write_VTP(os, g, np);
}
diff --git a/BGL/include/CGAL/boost/graph/IO/WRL.h b/BGL/include/CGAL/boost/graph/IO/WRL.h
index 57688d1f586..f79e8b05d19 100644
--- a/BGL/include/CGAL/boost/graph/IO/WRL.h
+++ b/BGL/include/CGAL/boost/graph/IO/WRL.h
@@ -64,7 +64,7 @@ namespace IO {
template
bool write_WRL(std::ostream& os,
const Graph& g,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
CGAL::VRML_2_ostream vos(os);
internal::Generic_facegraph_printer printer(vos);
@@ -103,7 +103,7 @@ bool write_WRL(std::ostream& os,
\returns `true` if writing was successful, `false` otherwise.
*/
template
-bool write_WRL(const std::string& fname, const Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+bool write_WRL(const std::string& fname, const Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
std::ofstream os(fname);
return write_WRL(os, g, np);
@@ -119,7 +119,7 @@ bool write_WRL(const std::string& fname, const Graph& g, const CGAL_BGL_NP_CLASS
\deprecated This function is deprecated since \cgal 5.3, `CGAL::IO::write_WRL()` should be used instead.
*/
template
-CGAL_DEPRECATED bool write_wrl(std::ostream& os, const Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+CGAL_DEPRECATED bool write_wrl(std::ostream& os, const Graph& g, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
return IO::write_WRL(os, g, np);
}
diff --git a/BGL/include/CGAL/boost/graph/IO/polygon_mesh_io.h b/BGL/include/CGAL/boost/graph/IO/polygon_mesh_io.h
index e903ca45557..6c156266172 100644
--- a/BGL/include/CGAL/boost/graph/IO/polygon_mesh_io.h
+++ b/BGL/include/CGAL/boost/graph/IO/polygon_mesh_io.h
@@ -39,7 +39,7 @@ namespace IO {
template
bool read_polygon_mesh(std::istream& is,
Graph& g,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
bool ok = false;
ok = read_OFF(is, g, np, false);
@@ -122,7 +122,7 @@ bool read_polygon_mesh(std::istream& is,
template
bool read_polygon_mesh(const std::string& fname,
Graph& g,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
const bool verbose = parameters::choose_parameter(parameters::get_parameter(np, internal_np::verbose), false);
@@ -215,7 +215,7 @@ bool read_polygon_mesh(const std::string& fname,
template
bool write_polygon_mesh(const std::string& fname,
Graph& g,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
const bool verbose = parameters::choose_parameter(parameters::get_parameter(np, internal_np::verbose), false);
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 9d622e02fe4..72be6347a71 100644
--- a/BGL/include/CGAL/boost/graph/METIS/partition_dual_graph.h
+++ b/BGL/include/CGAL/boost/graph/METIS/partition_dual_graph.h
@@ -185,7 +185,7 @@ void partition_dual_graph(const TriangleMesh& tm, int nparts,
/// \pre `tm` is a pure triangular surface mesh: there are no edges
/// without at least one incident face
template
-void partition_dual_graph(const TriangleMesh& tm, int nparts, const NamedParameters& np = parameters::use_default_values())
+void partition_dual_graph(const TriangleMesh& tm, int nparts, const NamedParameters& np = parameters::default_values())
{
using parameters::get_parameter;
diff --git a/BGL/include/CGAL/boost/graph/METIS/partition_graph.h b/BGL/include/CGAL/boost/graph/METIS/partition_graph.h
index 53efdc738b6..e1054f84837 100644
--- a/BGL/include/CGAL/boost/graph/METIS/partition_graph.h
+++ b/BGL/include/CGAL/boost/graph/METIS/partition_graph.h
@@ -218,7 +218,7 @@ void partition_graph(const TriangleMesh& tm, int nparts,
/// \pre `tm` is a pure triangular surface mesh: there are no edges
/// without at least one incident face
template
-void partition_graph(const TriangleMesh& tm, int nparts, const NamedParameters& np = parameters::use_default_values())
+void partition_graph(const TriangleMesh& tm, int nparts, const NamedParameters& np = parameters::default_values())
{
using parameters::get_parameter;
diff --git a/BGL/include/CGAL/boost/graph/alpha_expansion_graphcut.h b/BGL/include/CGAL/boost/graph/alpha_expansion_graphcut.h
index 20c4029d541..9b965550010 100644
--- a/BGL/include/CGAL/boost/graph/alpha_expansion_graphcut.h
+++ b/BGL/include/CGAL/boost/graph/alpha_expansion_graphcut.h
@@ -513,7 +513,7 @@ double alpha_expansion_graphcut (const InputGraph& input_graph,
EdgeCostMap edge_cost_map,
VertexLabelCostMap vertex_label_cost_map,
VertexLabelMap vertex_label_map,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
diff --git a/BGL/include/CGAL/boost/graph/copy_face_graph.h b/BGL/include/CGAL/boost/graph/copy_face_graph.h
index d7e9cf17a0d..00e4a8b632c 100644
--- a/BGL/include/CGAL/boost/graph/copy_face_graph.h
+++ b/BGL/include/CGAL/boost/graph/copy_face_graph.h
@@ -355,8 +355,8 @@ template
void copy_face_graph(const SourceMesh& sm, TargetMesh& tm,
- const NamedParameters1& np1 = parameters::use_default_values(),
- const NamedParameters2& np2 = parameters::use_default_values()
+ const NamedParameters1& np1 = parameters::default_values(),
+ const NamedParameters2& np2 = parameters::default_values()
)
{
using parameters::choose_parameter;
diff --git a/BGL/include/CGAL/boost/graph/named_params_helper.h b/BGL/include/CGAL/boost/graph/named_params_helper.h
index dfca1b1c9f3..aa1d46a55b3 100644
--- a/BGL/include/CGAL/boost/graph/named_params_helper.h
+++ b/BGL/include/CGAL/boost/graph/named_params_helper.h
@@ -224,7 +224,7 @@ typename BGL::internal::GetInitializedIndexMap, \
Graph, NamedParameters>::const_type \
get_initialized_##DTYPE##_index_map(const Graph& g, \
- const NamedParameters& np = parameters::use_default_values()) \
+ const NamedParameters& np = parameters::default_values()) \
{ \
typedef BGL::internal::GetInitializedIndexMap, \
Graph, NamedParameters>::type \
get_initialized_##DTYPE##_index_map(Graph& g, \
- const NamedParameters& np = parameters::use_default_values()) \
+ const NamedParameters& np = parameters::default_values()) \
{ \
typedef BGL::internal::GetInitializedIndexMap::face_descriptor g_face_descriptor;
std::map map;
- PMP::connected_components(g, boost::make_assoc_property_map(map), CGAL::parameters::use_default_values());
+ PMP::connected_components(g, boost::make_assoc_property_map(map), CGAL::parameters::default_values());
Adapter fg(g, -1, boost::make_assoc_property_map(map));
assert(is_empty(fg));
diff --git a/Convex_hull_3/include/CGAL/convex_hull_3.h b/Convex_hull_3/include/CGAL/convex_hull_3.h
index d9173e47f95..59ffa07d654 100644
--- a/Convex_hull_3/include/CGAL/convex_hull_3.h
+++ b/Convex_hull_3/include/CGAL/convex_hull_3.h
@@ -1063,7 +1063,7 @@ void convex_hull_3(InputIterator first, InputIterator beyond,
template
void convex_hull_3(const VertexListGraph& g,
PolygonMesh& pm,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using CGAL::parameters::choose_parameter;
using CGAL::parameters::get_parameter;
diff --git a/Convex_hull_3/test/Convex_hull_3/test_ch_3_ambiguity.cpp b/Convex_hull_3/test/Convex_hull_3/test_ch_3_ambiguity.cpp
index 30732869427..87588329136 100644
--- a/Convex_hull_3/test/Convex_hull_3/test_ch_3_ambiguity.cpp
+++ b/Convex_hull_3/test/Convex_hull_3/test_ch_3_ambiguity.cpp
@@ -23,7 +23,7 @@ int main(int argc, char* argv[])
Surface_mesh chull;
// compute convex hull
- auto np = CGAL::parameters::use_default_values();
+ auto np = CGAL::parameters::default_values();
CGAL::convex_hull_3(poly, chull, np);
std::cout << "The convex hull contains " << chull.number_of_vertices() << " vertices" << std::endl;
return 0;
diff --git a/Optimal_bounding_box/include/CGAL/Optimal_bounding_box/oriented_bounding_box.h b/Optimal_bounding_box/include/CGAL/Optimal_bounding_box/oriented_bounding_box.h
index 99cf60b328a..e95ccf8fe1c 100644
--- a/Optimal_bounding_box/include/CGAL/Optimal_bounding_box/oriented_bounding_box.h
+++ b/Optimal_bounding_box/include/CGAL/Optimal_bounding_box/oriented_bounding_box.h
@@ -315,7 +315,7 @@ template
void oriented_bounding_box(const PointRange& points,
Output& out,
- const NamedParameters& np = parameters::use_default_values()
+ const NamedParameters& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::enable_if<
typename boost::has_range_iterator
@@ -416,7 +416,7 @@ template
void oriented_bounding_box(const PolygonMesh& pmesh,
Output& out,
- const NamedParameters& np = parameters::use_default_values()
+ const NamedParameters& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::disable_if<
typename boost::has_range_iterator
diff --git a/Point_set_3/include/CGAL/Point_set_3/IO.h b/Point_set_3/include/CGAL/Point_set_3/IO.h
index 1b357f10e74..6079a73b085 100644
--- a/Point_set_3/include/CGAL/Point_set_3/IO.h
+++ b/Point_set_3/include/CGAL/Point_set_3/IO.h
@@ -121,7 +121,7 @@ namespace IO {
template
bool read_point_set(const std::string& fname,
CGAL::Point_set_3& ps,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
const std::string ext = internal::get_file_extension(fname);
@@ -214,7 +214,7 @@ namespace IO {
template
bool write_point_set(const std::string& fname,
CGAL::Point_set_3& ps,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
const std::string ext = internal::get_file_extension(fname);
diff --git a/Point_set_3/include/CGAL/Point_set_3/IO/OFF.h b/Point_set_3/include/CGAL/Point_set_3/IO/OFF.h
index 70ebe0e9253..07a7ad3d8d8 100644
--- a/Point_set_3/include/CGAL/Point_set_3/IO/OFF.h
+++ b/Point_set_3/include/CGAL/Point_set_3/IO/OFF.h
@@ -143,7 +143,7 @@ namespace IO {
template
bool write_OFF(std::ostream& os,
const CGAL::Point_set_3& point_set,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
if(point_set.has_normal_map())
return Point_set_processing_3::internal::write_OFF_PSP(os, point_set,
@@ -180,7 +180,7 @@ bool write_OFF(std::ostream& os,
\return `true` if the writing was successful, `false` otherwise.
*/
template
-bool write_OFF(const std::string& fname, const CGAL::Point_set_3& point_set, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+bool write_OFF(const std::string& fname, const CGAL::Point_set_3& point_set, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
std::ofstream os(fname);
return write_OFF(os, point_set, np);
diff --git a/Point_set_3/include/CGAL/Point_set_3/IO/PLY.h b/Point_set_3/include/CGAL/Point_set_3/IO/PLY.h
index 2b09c4943b4..0c451d95d34 100644
--- a/Point_set_3/include/CGAL/Point_set_3/IO/PLY.h
+++ b/Point_set_3/include/CGAL/Point_set_3/IO/PLY.h
@@ -337,7 +337,7 @@ template & point_set,
std::string& comments,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
const bool binary = CGAL::parameters::choose_parameter(CGAL::parameters::get_parameter(np, internal_np::use_binary_mode), true);
if(binary)
@@ -356,7 +356,7 @@ bool read_PLY(const std::string& fname,
/// \cond SKIP_IN_MANUAL
template
-bool read_PLY(const std::string& fname, CGAL::Point_set_3& point_set, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+bool read_PLY(const std::string& fname, CGAL::Point_set_3& point_set, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
std::string unused_comments;
return read_PLY(fname, point_set, unused_comments, np);
@@ -450,7 +450,7 @@ template & point_set,
const std::string& comments,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
typedef CGAL::Point_set_3 Point_set;
typedef typename Point_set::Index Index;
@@ -664,7 +664,7 @@ bool write_PLY(std::ostream& os,
/// \cond SKIP_IN_MANUAL
template
-bool write_PLY(std::ostream& os, const CGAL::Point_set_3& point_set, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+bool write_PLY(std::ostream& os, const CGAL::Point_set_3& point_set, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
return write_PLY(os, point_set, std::string(), np);
}
@@ -733,7 +733,7 @@ bool write_PLY(const std::string& fname,
/// \cond SKIP_IN_MANUAL
template
-bool write_PLY(const std::string& fname, const CGAL::Point_set_3& point_set, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+bool write_PLY(const std::string& fname, const CGAL::Point_set_3& point_set, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
return write_PLY(fname, point_set, std::string(), np);
}
diff --git a/Point_set_3/include/CGAL/Point_set_3/IO/XYZ.h b/Point_set_3/include/CGAL/Point_set_3/IO/XYZ.h
index 8179ca8f6d2..d915feb7b4e 100644
--- a/Point_set_3/include/CGAL/Point_set_3/IO/XYZ.h
+++ b/Point_set_3/include/CGAL/Point_set_3/IO/XYZ.h
@@ -141,7 +141,7 @@ namespace IO {
template
bool write_XYZ(std::ostream& os,
const CGAL::Point_set_3& point_set,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
if(point_set.has_normal_map())
return Point_set_processing_3::internal::write_XYZ_PSP(os, point_set,
@@ -177,7 +177,7 @@ bool write_XYZ(std::ostream& os,
\return `true` if the writing was successful, `false` otherwise.
*/
template
-bool write_XYZ(const std::string& fname, const CGAL::Point_set_3& point_set, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+bool write_XYZ(const std::string& fname, const CGAL::Point_set_3& point_set, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
std::ofstream os(fname);
return write_XYZ(os, point_set, np);
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 a1d5130453d..a503168c6df 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
@@ -459,7 +459,7 @@ template
bool read_LAS(std::istream& is,
PointOutputIterator output,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
@@ -475,7 +475,7 @@ bool read_LAS(std::istream& is,
/// \cond SKIP_IN_MANUAL
template
-bool read_LAS(std::istream& is, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values(),
+bool read_LAS(std::istream& is, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::default_values(),
typename std::enable_if::value>::type* = nullptr)
{
return read_LAS::type>(is, output, np);
@@ -523,7 +523,7 @@ template
bool read_LAS(const std::string& filename,
PointOutputIterator output,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
std::ifstream is(filename, std::ios::binary);
CGAL::IO::set_mode(is, CGAL::IO::BINARY);
@@ -533,7 +533,7 @@ bool read_LAS(const std::string& filename,
/// \cond SKIP_IN_MANUAL
template
-bool read_LAS(const std::string& fname, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+bool read_LAS(const std::string& fname, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
std::ifstream is(fname, std::ios::binary);
CGAL::IO::set_mode(is, CGAL::IO::BINARY);
@@ -613,7 +613,7 @@ template
CGAL_DEPRECATED bool read_las_points(std::istream& is,
OutputIterator output,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
@@ -629,7 +629,7 @@ CGAL_DEPRECATED bool read_las_points(std::istream& is,
// variant with default output iterator value type
template
-CGAL_DEPRECATED bool read_las_points(std::istream& is, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+CGAL_DEPRECATED bool read_las_points(std::istream& is, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
return IO::read_LAS::type>(is, output, np);
}
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 f0aafb103af..ed0bc982382 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
@@ -80,7 +80,7 @@ template
bool read_OFF(std::istream& is,
PointOutputIterator output,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename std::enable_if::value>::type* = nullptr
#endif
@@ -242,7 +242,7 @@ template
bool read_OFF(const std::string& fname,
PointOutputIterator output,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename std::enable_if::value>::type* = nullptr
#endif
@@ -257,14 +257,14 @@ bool read_OFF(const std::string& fname,
// variants with default output iterator value type
template
-bool read_OFF(std::istream& is, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values(),
+bool read_OFF(std::istream& is, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::default_values(),
typename std::enable_if::value>::type* = nullptr)
{
return read_OFF::type>(is, output, np);
}
template
-bool read_OFF(const std::string& fname, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values(),
+bool read_OFF(const std::string& fname, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::default_values(),
typename std::enable_if::value>::type* = nullptr)
{
std::ifstream is(fname);
@@ -425,7 +425,7 @@ template
CGAL_DEPRECATED bool read_off_points(std::istream& is,
OutputIterator output,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
return IO::read_OFF(is, output, np);
}
@@ -440,7 +440,7 @@ CGAL_DEPRECATED bool read_off_points(std::istream& is, OutputIterator output)
// variant with default output iterator value type
template
-CGAL_DEPRECATED bool read_off_points(std::istream& is, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+CGAL_DEPRECATED bool read_off_points(std::istream& is, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
return IO::read_OFF(is, output, np);
}
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 acbf2b50fe8..d6c19fee0a5 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
@@ -242,7 +242,7 @@ template
bool read_PLY(std::istream& is,
PointOutputIterator output,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename std::enable_if::value>::type* = nullptr
#endif
@@ -324,7 +324,7 @@ template
bool read_PLY(const std::string& fname,
PointOutputIterator output,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename std::enable_if::value>::type* = nullptr
#endif
@@ -349,14 +349,14 @@ bool read_PLY(const std::string& fname,
// variants with default output iterator value type
template
-bool read_PLY(std::istream& is, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values(),
+bool read_PLY(std::istream& is, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::default_values(),
typename std::enable_if::value>::type* = nullptr)
{
return read_PLY::type>(is, output, np);
}
template
-bool read_PLY(const std::string& fname, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values(),
+bool read_PLY(const std::string& fname, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::default_values(),
typename std::enable_if::value>::type* = nullptr)
{
return read_PLY::type>(fname, output, np);
@@ -459,7 +459,7 @@ CGAL_DEPRECATED bool read_ply_points_with_properties(std::istream& is, OutputIte
\link PkgPointSetProcessing3IOPly `CGAL::IO::read_PLY()` \endlink should be used instead.
*/
template
-CGAL_DEPRECATED bool read_ply_points(std::istream& is, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+CGAL_DEPRECATED bool read_ply_points(std::istream& is, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
return IO::read_PLY(is, output, np);
}
@@ -476,7 +476,7 @@ CGAL_DEPRECATED bool read_ply_points_with_properties(std::istream& is, OutputIte
// variant with default output iterator value type
template
-CGAL_DEPRECATED bool read_ply_points(std::istream& is, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+CGAL_DEPRECATED bool read_ply_points(std::istream& is, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
return IO::read_PLY::type>(is, output, np);
}
diff --git a/Point_set_processing_3/include/CGAL/IO/read_points.h b/Point_set_processing_3/include/CGAL/IO/read_points.h
index bd1e99a1ff8..b9ca990d21a 100644
--- a/Point_set_processing_3/include/CGAL/IO/read_points.h
+++ b/Point_set_processing_3/include/CGAL/IO/read_points.h
@@ -88,7 +88,7 @@ template
bool read_points(const std::string& fname,
PointOutputIterator output,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
const std::string ext = internal::get_file_extension(fname);
@@ -110,7 +110,7 @@ bool read_points(const std::string& fname,
// variant with default OutputIteratorType
template
-bool read_points(const std::string& fname, OutputIterator output, const NamedParameters& np = parameters::use_default_values())
+bool read_points(const std::string& fname, OutputIterator output, const NamedParameters& np = parameters::default_values())
{
return read_points::type>(fname, output, np);
}
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 70e73575d33..71d458a6ec4 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
@@ -77,7 +77,7 @@ template
bool read_XYZ(std::istream& is,
OutputIterator output,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
@@ -226,7 +226,7 @@ template
bool read_XYZ(const std::string& fname,
OutputIterator output,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
std::ifstream is(fname);
return read_XYZ(is, output, np);
@@ -236,14 +236,14 @@ bool read_XYZ(const std::string& fname,
// variants with default output iterator value type
template
-bool read_XYZ(std::istream& is, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values(),
+bool read_XYZ(std::istream& is, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::default_values(),
typename std::enable_if::value>::type* = nullptr)
{
return read_XYZ::type>(is, output, np);
}
template
-bool read_XYZ(const std::string& fname, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+bool read_XYZ(const std::string& fname, OutputIterator output, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
std::ifstream is(fname);
return read_XYZ::type>(is, output, np);
@@ -409,7 +409,7 @@ template
CGAL_DEPRECATED bool read_xyz_points(std::istream& is,
OutputIterator output,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
return IO::read_XYZ(is, output, np);
}
@@ -419,7 +419,7 @@ template
CGAL_DEPRECATED bool read_xyz_points(std::istream& is,
OutputIterator output,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
return IO::read_XYZ::type>(is, output, np);
}
diff --git a/Point_set_processing_3/include/CGAL/IO/write_las_points.h b/Point_set_processing_3/include/CGAL/IO/write_las_points.h
index 0ef63223a09..6f07afd945c 100644
--- a/Point_set_processing_3/include/CGAL/IO/write_las_points.h
+++ b/Point_set_processing_3/include/CGAL/IO/write_las_points.h
@@ -280,7 +280,7 @@ bool write_LAS_with_properties(std::ostream& os, ///< output stream.
template
bool write_LAS(std::ostream& os,
const PointRange& points,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::enable_if >::type* = nullptr
#endif
@@ -335,7 +335,7 @@ bool write_LAS(std::ostream& os,
template
bool write_LAS(const std::string& filename,
const PointRange& points,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::enable_if >::type* = nullptr
#endif
@@ -403,7 +403,7 @@ CGAL_DEPRECATED bool write_las_points_with_properties(std::ostream& os,
\deprecated This function is deprecated since \cgal 5.3, `CGAL::IO::write_LAS()` should be used instead.
*/
template
-bool write_las_points(std::ostream& os, const PointRange& points, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+bool write_las_points(std::ostream& os, const PointRange& points, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
return IO::write_LAS(os, points, np);
}
diff --git a/Point_set_processing_3/include/CGAL/IO/write_off_points.h b/Point_set_processing_3/include/CGAL/IO/write_off_points.h
index 354ec4c10ab..8e707fe251d 100644
--- a/Point_set_processing_3/include/CGAL/IO/write_off_points.h
+++ b/Point_set_processing_3/include/CGAL/IO/write_off_points.h
@@ -37,7 +37,7 @@ namespace internal {
template
bool write_OFF_PSP(std::ostream& os,
const PointRange& points,
- const CGAL_BGL_NP_CLASS& np = CGAL::parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = CGAL::parameters::default_values())
{
using CGAL::parameters::choose_parameter;
using CGAL::parameters::get_parameter;
@@ -133,7 +133,7 @@ namespace IO {
template
bool write_OFF(std::ostream& os,
const PointRange& points,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::enable_if >::type* = nullptr
#endif
@@ -189,7 +189,7 @@ template
bool write_OFF(const std::string& filename,
const PointRange& points,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::enable_if >::type* = nullptr
#endif
@@ -302,7 +302,7 @@ bool write_off_points(std::ostream& os, ///< output stream.
\link PkgPointSetProcessing3IOOff `CGAL::IO::write_OFF()` \endlink should be used instead.
*/
template
-CGAL_DEPRECATED bool write_off_points(std::ostream& os, const PointRange& points, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+CGAL_DEPRECATED bool write_off_points(std::ostream& os, const PointRange& points, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
return IO::write_OFF(os, points, np);
}
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 c3bd1030045..f0d6dfd9e9d 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
@@ -187,7 +187,7 @@ template
bool write_PLY(std::ostream& os,
const PointRange& points,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::enable_if >::type* = nullptr
#endif
@@ -275,7 +275,7 @@ bool write_PLY(std::ostream& os,
template
bool write_PLY(const std::string& filename,
const PointRange& points,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::enable_if >::type* = nullptr
#endif
@@ -375,7 +375,7 @@ CGAL_DEPRECATED bool write_ply_points_with_properties(std::ostream& os, ///< out
\link PkgPointSetProcessing3IOPly `CGAL::IO::write_PLY()` \endlink should be used instead.
*/
template
-CGAL_DEPRECATED bool write_ply_points(std::ostream& os, const PointRange& points, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+CGAL_DEPRECATED bool write_ply_points(std::ostream& os, const PointRange& points, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
return IO::write_PLY(os, points, np);
}
diff --git a/Point_set_processing_3/include/CGAL/IO/write_points.h b/Point_set_processing_3/include/CGAL/IO/write_points.h
index 80bb504b2ca..6bbeef5b11c 100644
--- a/Point_set_processing_3/include/CGAL/IO/write_points.h
+++ b/Point_set_processing_3/include/CGAL/IO/write_points.h
@@ -91,7 +91,7 @@ namespace IO {
template
bool write_points(const std::string& fname,
const PointRange& points,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values(),
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values(),
#ifndef DOXYGEN_RUNNING
typename boost::enable_if >::type* = nullptr
#endif
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 8c2fb1724ec..b8981a6ee0d 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
@@ -37,7 +37,7 @@ namespace internal {
template
bool write_XYZ_PSP(std::ostream& os,
const PointRange& points,
- const CGAL_BGL_NP_CLASS& np = CGAL::parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = CGAL::parameters::default_values())
{
using CGAL::parameters::choose_parameter;
using CGAL::parameters::get_parameter;
@@ -125,7 +125,7 @@ namespace IO {
template
bool write_XYZ(std::ostream& os,
const PointRange& points,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::enable_if >::type* = nullptr
#endif
@@ -178,7 +178,7 @@ bool write_XYZ(std::ostream& os,
template
bool write_XYZ(const std::string& filename,
const PointRange& points,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values()
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, typename boost::enable_if >::type* = nullptr
#endif
@@ -288,7 +288,7 @@ bool write_xyz_points(std::ostream& os, ///< output stream.
\link PkgPointSetProcessing3IOXyz `CGAL::write_XYZ()` \endlink should be used instead.
*/
template
-CGAL_DEPRECATED bool write_xyz_points(std::ostream& os, const PointRange& points, const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+CGAL_DEPRECATED bool write_xyz_points(std::ostream& os, const PointRange& points, const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
return IO::write_XYZ(os, points, np);
}
diff --git a/Point_set_processing_3/include/CGAL/OpenGR/compute_registration_transformation.h b/Point_set_processing_3/include/CGAL/OpenGR/compute_registration_transformation.h
index 5dcaffc7518..7a439b3e0c9 100644
--- a/Point_set_processing_3/include/CGAL/OpenGR/compute_registration_transformation.h
+++ b/Point_set_processing_3/include/CGAL/OpenGR/compute_registration_transformation.h
@@ -296,8 +296,8 @@ std::pair
#endif
compute_registration_transformation (const PointRange1& point_set_1, const PointRange2& point_set_2,
- const NamedParameters1& np1 = parameters::use_default_values(),
- const NamedParameters2& np2 = parameters::use_default_values())
+ const NamedParameters1& np1 = parameters::default_values(),
+ const NamedParameters2& np2 = parameters::default_values())
{
namespace GR = gr;
using parameters::choose_parameter;
diff --git a/Point_set_processing_3/include/CGAL/OpenGR/register_point_sets.h b/Point_set_processing_3/include/CGAL/OpenGR/register_point_sets.h
index ce04510df45..345eaa650d2 100644
--- a/Point_set_processing_3/include/CGAL/OpenGR/register_point_sets.h
+++ b/Point_set_processing_3/include/CGAL/OpenGR/register_point_sets.h
@@ -210,8 +210,8 @@ template
double
register_point_sets (const PointRange1& point_set_1, PointRange2& point_set_2,
- const NamedParameters1& np1 = parameters::use_default_values(),
- const NamedParameters2& np2 = parameters::use_default_values())
+ const NamedParameters1& np1 = parameters::default_values(),
+ const NamedParameters2& np2 = parameters::default_values())
{
namespace GR = gr;
using parameters::choose_parameter;
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 3536c9636ba..86fa5d23b19 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
@@ -263,7 +263,7 @@ double
bilateral_smooth_point_set(
PointRange& points,
unsigned int k,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
diff --git a/Point_set_processing_3/include/CGAL/cluster_point_set.h b/Point_set_processing_3/include/CGAL/cluster_point_set.h
index a6730269888..a7c516a5e5f 100644
--- a/Point_set_processing_3/include/CGAL/cluster_point_set.h
+++ b/Point_set_processing_3/include/CGAL/cluster_point_set.h
@@ -131,7 +131,7 @@ CGAL::Emptyset_iterator get_adjacencies (const NamedParameters&, CGAL::Emptyset_
template
std::size_t cluster_point_set (PointRange& points,
ClusterMap cluster_map,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
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 2a4e561a5e4..2699a1771ad 100644
--- a/Point_set_processing_3/include/CGAL/compute_average_spacing.h
+++ b/Point_set_processing_3/include/CGAL/compute_average_spacing.h
@@ -155,7 +155,7 @@ template
typename PointRange::iterator
hierarchy_simplify_point_set (PointRange& points,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
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 96f0215ba19..da74d6e93ee 100644
--- a/Point_set_processing_3/include/CGAL/jet_estimate_normals.h
+++ b/Point_set_processing_3/include/CGAL/jet_estimate_normals.h
@@ -179,7 +179,7 @@ void
jet_estimate_normals(
PointRange& points,
unsigned int k,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
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 45156f61936..50e8a9ad49d 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
@@ -188,7 +188,7 @@ void
jet_smooth_point_set(
PointRange& points,
unsigned int k,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
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 25c319dba7a..5de84c761a5 100644
--- a/Point_set_processing_3/include/CGAL/mst_orient_normals.h
+++ b/Point_set_processing_3/include/CGAL/mst_orient_normals.h
@@ -604,7 +604,7 @@ typename PointRange::iterator
mst_orient_normals(
PointRange& points,
unsigned int k,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
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 00c34d29b1a..8447ae952ff 100644
--- a/Point_set_processing_3/include/CGAL/pca_estimate_normals.h
+++ b/Point_set_processing_3/include/CGAL/pca_estimate_normals.h
@@ -154,7 +154,7 @@ void
pca_estimate_normals(
PointRange& points,
unsigned int k,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
diff --git a/Point_set_processing_3/include/CGAL/pointmatcher/compute_registration_transformation.h b/Point_set_processing_3/include/CGAL/pointmatcher/compute_registration_transformation.h
index 27f03515a70..56f70239750 100644
--- a/Point_set_processing_3/include/CGAL/pointmatcher/compute_registration_transformation.h
+++ b/Point_set_processing_3/include/CGAL/pointmatcher/compute_registration_transformation.h
@@ -592,8 +592,8 @@ std::pair
#endif
compute_registration_transformation (const PointRange1& point_set_1, const PointRange2& point_set_2,
- const NamedParameters1& np1 = parameters::use_default_values(),
- const NamedParameters2& np2 = parameters::use_default_values())
+ const NamedParameters1& np1 = parameters::default_values(),
+ const NamedParameters2& np2 = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
diff --git a/Point_set_processing_3/include/CGAL/pointmatcher/register_point_sets.h b/Point_set_processing_3/include/CGAL/pointmatcher/register_point_sets.h
index 231eef36e82..a20733c1ea5 100644
--- a/Point_set_processing_3/include/CGAL/pointmatcher/register_point_sets.h
+++ b/Point_set_processing_3/include/CGAL/pointmatcher/register_point_sets.h
@@ -229,8 +229,8 @@ template
bool
register_point_sets (const PointRange1& point_set_1, PointRange2& point_set_2,
- const NamedParameters1& np1 = parameters::use_default_values(),
- const NamedParameters2& np2 = parameters::use_default_values())
+ const NamedParameters1& np1 = parameters::default_values(),
+ const NamedParameters2& np2 = parameters::default_values())
{
typedef typename Point_set_processing_3_np_helper::Geom_traits Kernel;
diff --git a/Point_set_processing_3/include/CGAL/remove_outliers.h b/Point_set_processing_3/include/CGAL/remove_outliers.h
index 2f1542a08f7..2b28e1e4c7b 100644
--- a/Point_set_processing_3/include/CGAL/remove_outliers.h
+++ b/Point_set_processing_3/include/CGAL/remove_outliers.h
@@ -176,7 +176,7 @@ typename PointRange::iterator
remove_outliers(
PointRange& points,
unsigned int k,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
diff --git a/Point_set_processing_3/include/CGAL/scanline_orient_normals.h b/Point_set_processing_3/include/CGAL/scanline_orient_normals.h
index 4a8be33b868..02f956f2416 100644
--- a/Point_set_processing_3/include/CGAL/scanline_orient_normals.h
+++ b/Point_set_processing_3/include/CGAL/scanline_orient_normals.h
@@ -457,7 +457,7 @@ void orient_scanline (Iterator begin, Iterator end,
\cgalNamedParamsEnd
*/
template
-void scanline_orient_normals (PointRange& points, const NamedParameters& np = parameters::use_default_values())
+void scanline_orient_normals (PointRange& points, const NamedParameters& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
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 b7aa5660c54..5b69f3ef0f9 100644
--- a/Point_set_processing_3/include/CGAL/vcm_estimate_normals.h
+++ b/Point_set_processing_3/include/CGAL/vcm_estimate_normals.h
@@ -263,7 +263,7 @@ compute_vcm (const PointRange& points,
std::vector< std::array > &ccov,
double offset_radius,
double convolution_radius,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
@@ -430,7 +430,7 @@ void
vcm_estimate_normals (PointRange& points,
double offset_radius,
double convolution_radius,
- const NamedParameters& np = parameters::use_default_values()
+ const NamedParameters& np = parameters::default_values()
)
{
vcm_estimate_normals_internal(points, offset_radius, convolution_radius, np);
@@ -489,7 +489,7 @@ void
vcm_estimate_normals (PointRange& points,
double offset_radius,
unsigned int k,
- const NamedParameters& np = parameters::use_default_values()
+ const NamedParameters& np = parameters::default_values()
)
{
vcm_estimate_normals_internal(points, offset_radius, 0, np, k);
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 34fb35b208d..7e4b86cdebe 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
@@ -434,7 +434,7 @@ OutputIterator
wlop_simplify_and_regularize_point_set(
PointRange& points,
OutputIterator output,
- const NamedParameters& np = parameters::use_default_values()
+ const NamedParameters& np = parameters::default_values()
)
{
using parameters::choose_parameter;
diff --git a/Polygon_mesh_processing/examples/Polygon_mesh_processing/corefinement_difference_remeshed.cpp b/Polygon_mesh_processing/examples/Polygon_mesh_processing/corefinement_difference_remeshed.cpp
index f8e9f454975..b679f7bf5ae 100644
--- a/Polygon_mesh_processing/examples/Polygon_mesh_processing/corefinement_difference_remeshed.cpp
+++ b/Polygon_mesh_processing/examples/Polygon_mesh_processing/corefinement_difference_remeshed.cpp
@@ -56,8 +56,8 @@ int main(int argc, char* argv[])
PMP::corefine_and_compute_difference(mesh1,
mesh2,
mesh1,
- params::use_default_values(), // default parameters for mesh1
- params::use_default_values(), // default parameters for mesh2
+ params::default_values(), // default parameters for mesh1
+ params::default_values(), // default parameters for mesh2
params::edge_is_constrained_map(is_constrained_map));
if (valid_difference)
diff --git a/Polygon_mesh_processing/examples/Polygon_mesh_processing/corefinement_mesh_union_and_intersection.cpp b/Polygon_mesh_processing/examples/Polygon_mesh_processing/corefinement_mesh_union_and_intersection.cpp
index d4c04a4c8d1..8cf8216190c 100644
--- a/Polygon_mesh_processing/examples/Polygon_mesh_processing/corefinement_mesh_union_and_intersection.cpp
+++ b/Polygon_mesh_processing/examples/Polygon_mesh_processing/corefinement_mesh_union_and_intersection.cpp
@@ -36,13 +36,13 @@ int main(int argc, char* argv[])
PMP::corefine_and_compute_boolean_operations(
mesh1, mesh2,
output,
- params::use_default_values(), // mesh1 named parameters
- params::use_default_values(), // mesh2 named parameters
+ params::default_values(), // mesh1 named parameters
+ params::default_values(), // mesh2 named parameters
std::make_tuple(
params::vertex_point_map(get(boost::vertex_point, out_union)), // named parameters for out_union
params::vertex_point_map(get(boost::vertex_point, out_intersection)), // named parameters for out_intersection
- params::use_default_values(), // named parameters for mesh1-mesh2 not used
- params::use_default_values() )// named parameters for mesh2-mesh1 not used)
+ params::default_values(), // named parameters for mesh1-mesh2 not used
+ params::default_values() )// named parameters for mesh2-mesh1 not used)
);
if (res[PMP::Corefinement::UNION])
diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/IO/polygon_mesh_io.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/IO/polygon_mesh_io.h
index 03926175466..7435f6fcc64 100644
--- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/IO/polygon_mesh_io.h
+++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/IO/polygon_mesh_io.h
@@ -87,7 +87,7 @@ namespace IO {
template
bool read_polygon_mesh(const std::string& fname,
PolygonMesh& g,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
namespace PMP = CGAL::Polygon_mesh_processing;
@@ -125,7 +125,7 @@ bool read_polygon_mesh(const std::string& fname,
return false;
}
- PMP::polygon_soup_to_polygon_mesh(points, faces, g, parameters::use_default_values(), np);
+ PMP::polygon_soup_to_polygon_mesh(points, faces, g, parameters::default_values(), np);
return true;
}
diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/bbox.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/bbox.h
index 32f4083968e..21a1cab9a62 100644
--- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/bbox.h
+++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/bbox.h
@@ -59,7 +59,7 @@ namespace CGAL {
*/
template
CGAL::Bbox_3 bbox(const PolygonMesh& pmesh,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using CGAL::parameters::choose_parameter;
using CGAL::parameters::get_parameter;
@@ -116,7 +116,7 @@ namespace CGAL {
template
CGAL::Bbox_3 vertex_bbox(typename boost::graph_traits::vertex_descriptor vd,
const PolygonMesh& pmesh,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
@@ -165,7 +165,7 @@ namespace CGAL {
template
CGAL::Bbox_3 edge_bbox(typename boost::graph_traits::edge_descriptor ed,
const PolygonMesh& pmesh,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
@@ -217,7 +217,7 @@ namespace CGAL {
template
CGAL::Bbox_3 face_bbox(typename boost::graph_traits::face_descriptor fd,
const PolygonMesh& pmesh,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/border.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/border.h
index 6c3ba8770ee..c78b8b1f3fd 100644
--- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/border.h
+++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/border.h
@@ -181,7 +181,7 @@ std::size_t border_size(typename boost::graph_traits::halfedge_desc
HalfedgeOutputIterator border_halfedges(const FaceRange& face_range
, const PolygonMesh& pmesh
, HalfedgeOutputIterator out
- , const NamedParameters& np = parameters::use_default_values())
+ , const NamedParameters& np = parameters::default_values())
{
if (face_range.empty())
return out;
diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/clip.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/clip.h
index 69ab66cb09c..8e6201696cb 100644
--- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/clip.h
+++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/clip.h
@@ -600,8 +600,8 @@ template ::type::Plane_3& plane,
#endif
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::get_parameter;
using parameters::choose_parameter;
@@ -717,7 +717,7 @@ bool clip(TriangleMesh& tm,
bbox=CGAL::Bbox_3(bbox.xmin()-xd, bbox.ymin()-yd, bbox.zmin()-zd,
bbox.xmax()+xd, bbox.ymax()+yd, bbox.zmax()+zd);
TriangleMesh clipper;
- Oriented_side os = internal::clip_to_bbox(plane, bbox, clipper, parameters::use_default_values());
+ Oriented_side os = internal::clip_to_bbox(plane, bbox, clipper, parameters::default_values());
switch(os)
{
case ON_NEGATIVE_SIDE:
@@ -803,7 +803,7 @@ bool clip(TriangleMesh& tm,
#else
const typename GetGeomTraits::type::Iso_cuboid_3& iso_cuboid,
#endif
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::get_parameter;
using parameters::choose_parameter;
@@ -880,8 +880,8 @@ template
void split(TriangleMesh& tm,
TriangleMesh& splitter,
- const NamedParameters1& np_tm = parameters::use_default_values(),
- const NamedParameters2& np_s = parameters::use_default_values())
+ const NamedParameters1& np_tm = parameters::default_values(),
+ const NamedParameters2& np_s = parameters::default_values())
{
namespace PMP = CGAL::Polygon_mesh_processing;
@@ -971,7 +971,7 @@ void split(TriangleMesh& tm,
#else
const typename GetGeomTraits::type::Plane_3& plane,
#endif
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::get_parameter;
using parameters::choose_parameter;
@@ -987,7 +987,7 @@ void split(TriangleMesh& tm,
bbox.xmax()+xd, bbox.ymax()+yd, bbox.zmax()+zd);
TriangleMesh splitter;
- CGAL::Oriented_side os = PMP::internal::clip_to_bbox(plane, bbox, splitter, CGAL::parameters::use_default_values());
+ CGAL::Oriented_side os = PMP::internal::clip_to_bbox(plane, bbox, splitter, CGAL::parameters::default_values());
if(os == CGAL::ON_ORIENTED_BOUNDARY)
{
@@ -1074,7 +1074,7 @@ void split(TriangleMesh& tm,
#else
const typename GetGeomTraits::type::Iso_cuboid_3& iso_cuboid,
#endif
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::get_parameter;
using parameters::choose_parameter;
diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/compute_normal.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/compute_normal.h
index 426c16e01f4..c38f5eff3df 100644
--- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/compute_normal.h
+++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/compute_normal.h
@@ -164,7 +164,7 @@ typename GetGeomTraits::type::Vector_3
#endif
compute_face_normal(typename boost::graph_traits::face_descriptor f,
const PolygonMesh& pmesh,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
@@ -225,7 +225,7 @@ compute_face_normal(typename boost::graph_traits::face_descriptor f
template
void compute_face_normals(const PolygonMesh& pmesh,
Face_normal_map face_normals,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
typedef typename GetGeomTraits::type Kernel;
@@ -646,7 +646,7 @@ typename GetGeomTraits::type::Vector_3
#endif
compute_vertex_normal(typename boost::graph_traits::vertex_descriptor v,
const PolygonMesh& pmesh,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::is_default_parameter;
@@ -759,7 +759,7 @@ compute_vertex_normal(typename boost::graph_traits::vertex_descript
template
void compute_vertex_normals(const PolygonMesh& pmesh,
VertexNormalMap vertex_normals,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::is_default_parameter;
@@ -856,7 +856,7 @@ template ::face_descriptor seed_face
, const PolygonMesh& pmesh
, FaceOutputIterator out
- , const NamedParameters& np = parameters::use_default_values())
+ , const NamedParameters& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
@@ -200,7 +200,7 @@ template ::value_type
connected_components(const PolygonMesh& pmesh,
FaceComponentMap fcm,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
@@ -261,7 +261,7 @@ template
std::size_t number_of_connected_components(const PolygonMesh& pmesh,
- const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
typedef typename boost::graph_traits::faces_size_type faces_size_type;
typedef CGAL::dynamic_face_property_t Face_property_tag;
@@ -380,7 +380,7 @@ template
std::size_t keep_largest_connected_components(PolygonMesh& pmesh,
std::size_t nb_components_to_keep,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
typedef PolygonMesh PM;
typedef typename boost::graph_traits::face_descriptor face_descriptor;
@@ -527,7 +527,7 @@ template
std::size_t keep_large_connected_components(PolygonMesh& pmesh,
const ThresholdValueType threshold_value,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
typedef PolygonMesh PM;
typedef typename boost::graph_traits::face_descriptor face_descriptor;
@@ -605,7 +605,7 @@ void keep_or_remove_connected_components(PolygonMesh& pmesh
, const ComponentRange& components_to_keep
, const FaceComponentMap& fcm
, bool keep
- , const NamedParameters& np = parameters::use_default_values())
+ , const NamedParameters& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
@@ -822,7 +822,7 @@ template
void remove_connected_components(PolygonMesh& pmesh
, const FaceRange& components_to_remove
- , const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ , const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
@@ -944,7 +944,7 @@ template
void keep_connected_components(PolygonMesh& pmesh
, const FaceRange& components_to_keep
- , const CGAL_BGL_NP_CLASS& np = parameters::use_default_values())
+ , const CGAL_BGL_NP_CLASS& np = parameters::default_values())
{
typedef PolygonMesh PM;
typedef typename boost::graph_traits::face_descriptor face_descriptor;
@@ -1084,7 +1084,7 @@ void split_connected_components_impl(FIMap fim,
template
void split_connected_components(const PolygonMesh& pmesh,
PolygonMeshRange& cc_meshes,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
typedef Static_boolean_property_map<
typename boost::graph_traits::edge_descriptor, false> Default_ecm;
diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/corefinement.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/corefinement.h
index f5a9ba9fc7f..79b16912735 100644
--- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/corefinement.h
+++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/corefinement.h
@@ -186,8 +186,8 @@ corefine_and_compute_boolean_operations(
TriangleMesh& tm1,
TriangleMesh& tm2,
const std::array< boost::optional,4>& output,
- const NamedParameters1& np1 = parameters::use_default_values(),
- const NamedParameters2& np2 = parameters::use_default_values(),
+ const NamedParameters1& np1 = parameters::default_values(),
+ const NamedParameters2& np2 = parameters::default_values(),
const std::tuple,4> output;
@@ -528,9 +528,9 @@ corefine_and_compute_union( TriangleMesh& tm1,
return
corefine_and_compute_boolean_operations(tm1, tm2, output, np1, np2,
std::make_tuple(np_out,
- parameters::use_default_values(),
- parameters::use_default_values(),
- parameters::use_default_values()))
+ parameters::default_values(),
+ parameters::default_values(),
+ parameters::default_values()))
[Corefinement::UNION];
}
@@ -549,9 +549,9 @@ bool
corefine_and_compute_intersection( TriangleMesh& tm1,
TriangleMesh& tm2,
TriangleMesh& tm_out,
- const NamedParameters1& np1 = parameters::use_default_values(),
- const NamedParameters2& np2 = parameters::use_default_values(),
- const NamedParametersOut& np_out = parameters::use_default_values())
+ const NamedParameters1& np1 = parameters::default_values(),
+ const NamedParameters2& np2 = parameters::default_values(),
+ const NamedParametersOut& np_out = parameters::default_values())
{
using namespace CGAL::parameters;
std::array< boost::optional,4> output;
@@ -559,10 +559,10 @@ corefine_and_compute_intersection( TriangleMesh& tm1,
return
corefine_and_compute_boolean_operations(tm1, tm2, output, np1, np2,
- std::make_tuple(parameters::use_default_values(),
+ std::make_tuple(parameters::default_values(),
np_out,
- parameters::use_default_values(),
- parameters::use_default_values()))
+ parameters::default_values(),
+ parameters::default_values()))
[Corefinement::INTERSECTION];
}
@@ -581,9 +581,9 @@ bool
corefine_and_compute_difference( TriangleMesh& tm1,
TriangleMesh& tm2,
TriangleMesh& tm_out,
- const NamedParameters1& np1 = parameters::use_default_values(),
- const NamedParameters2& np2 = parameters::use_default_values(),
- const NamedParametersOut& np_out = parameters::use_default_values())
+ const NamedParameters1& np1 = parameters::default_values(),
+ const NamedParameters2& np2 = parameters::default_values(),
+ const NamedParametersOut& np_out = parameters::default_values())
{
using namespace CGAL::parameters;
using namespace CGAL::Polygon_mesh_processing::Corefinement;
@@ -592,10 +592,10 @@ corefine_and_compute_difference( TriangleMesh& tm1,
return
corefine_and_compute_boolean_operations(tm1, tm2, output, np1, np2,
- std::make_tuple(parameters::use_default_values(),
- parameters::use_default_values(),
+ std::make_tuple(parameters::default_values(),
+ parameters::default_values(),
np_out,
- parameters::use_default_values()))
+ parameters::default_values()))
[TM1_MINUS_TM2];
}
@@ -667,8 +667,8 @@ template
void
autorefine( TriangleMesh& tm,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
@@ -901,7 +901,7 @@ template
bool
autorefine_and_remove_self_intersections( TriangleMesh& tm,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/detect_features.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/detect_features.h
index 3f014c0b21d..1a8610b9572 100644
--- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/detect_features.h
+++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/detect_features.h
@@ -149,7 +149,7 @@ typename boost::graph_traits::faces_size_type
detect_surface_patches(const PolygonMesh& p,
PatchIdMap patch_id_map,
EdgeIsFeatureMap eif,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
int offset = static_cast(
parameters::choose_parameter(parameters::get_parameter(np, internal_np::first_index), 1));
@@ -275,7 +275,7 @@ void detect_sharp_edges(const PolygonMesh& pmesh,
typename GetGeomTraits::type::FT angle_in_deg,
#endif
EdgeIsFeatureMap edge_is_feature_map,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::choose_parameter;
using parameters::get_parameter;
@@ -453,7 +453,7 @@ sharp_edges_segmentation(const PolygonMesh& pmesh,
#endif
EdgeIsFeatureMap edge_is_feature_map,
PatchIdMap patch_id_map,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
detect_sharp_edges(pmesh, angle_in_deg, edge_is_feature_map, np);
diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/distance.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/distance.h
index ff50c84ee8a..791eaff09f7 100644
--- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/distance.h
+++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/distance.h
@@ -856,7 +856,7 @@ template::type GeomTraits;
typedef typename GetVertexPointMap::const_type Vpm;
@@ -982,7 +982,7 @@ PointOutputIterator
sample_triangle_soup(const PointRange& points,
const TriangleRange& triangles,
PointOutputIterator out,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
typedef typename PointRange::value_type Point_3;
typedef typename Kernel_traits::Kernel GeomTraits;
@@ -1087,7 +1087,7 @@ double approximate_Hausdorff_distance(
* \cgalParamNEnd
* \cgalNamedParamsEnd
*
- * The function `CGAL::parameters::use_default_values()` can be used to indicate to use the default values
+ * The function `CGAL::parameters::default_values()` can be used to indicate to use the default values
* for `np1` and specify custom values for `np2`.
*/
template< class Concurrency_tag,
@@ -1096,8 +1096,8 @@ template< class Concurrency_tag,
class NamedParameters2 = parameters::Default_named_parameters>
double approximate_Hausdorff_distance( const TriangleMesh& tm1,
const TriangleMesh& tm2,
- const NamedParameters1& np1 = parameters::use_default_values(),
- const NamedParameters2& np2 = parameters::use_default_values())
+ const NamedParameters1& np1 = parameters::default_values(),
+ const NamedParameters2& np2 = parameters::default_values())
{
typedef typename GetGeomTraits::type GeomTraits;
@@ -1120,8 +1120,8 @@ template< class Concurrency_tag,
double approximate_symmetric_Hausdorff_distance(
const TriangleMesh& tm1,
const TriangleMesh& tm2,
- const NamedParameters1& np1 = parameters::use_default_values(),
- const NamedParameters2& np2 = parameters::use_default_values())
+ const NamedParameters1& np1 = parameters::default_values(),
+ const NamedParameters2& np2 = parameters::default_values())
{
return (std::max)(
approximate_Hausdorff_distance(tm1,tm2,np1,np2),
@@ -1165,7 +1165,7 @@ template< class Concurrency_tag,
class NamedParameters = parameters::Default_named_parameters>
double max_distance_to_triangle_mesh(const PointRange& points,
const TriangleMesh& tm,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
typedef typename GetGeomTraits::type GeomTraits;
@@ -1214,7 +1214,7 @@ template< class TriangleMesh,
double approximate_max_distance_to_point_set(const TriangleMesh& tm,
const PointRange& points,
const double precision,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
typedef typename GetGeomTraits::type GeomTraits;
@@ -2294,8 +2294,8 @@ double bounded_error_Hausdorff_distance(
const TriangleMesh1& tm1,
const TriangleMesh2& tm2,
const double error_bound = 0.0001,
- const NamedParameters1& np1 = parameters::use_default_values(),
- const NamedParameters2& np2 = parameters::use_default_values())
+ const NamedParameters1& np1 = parameters::default_values(),
+ const NamedParameters2& np2 = parameters::default_values())
{
CGAL_assertion_code(
const bool is_triangle = is_triangle_mesh(tm1) && is_triangle_mesh(tm2));
@@ -2348,8 +2348,8 @@ double bounded_error_symmetric_Hausdorff_distance(
const TriangleMesh1& tm1,
const TriangleMesh2& tm2,
const double error_bound,
- const NamedParameters1& np1 = parameters::use_default_values(),
- const NamedParameters2& np2 = parameters::use_default_values())
+ const NamedParameters1& np1 = parameters::default_values(),
+ const NamedParameters2& np2 = parameters::default_values())
{
CGAL_assertion_code(
const bool is_triangle = is_triangle_mesh(tm1) && is_triangle_mesh(tm2));
@@ -2418,8 +2418,8 @@ bool is_Hausdorff_distance_larger(
const TriangleMesh2& tm2,
const double distance_bound,
const double error_bound,
- const NamedParameters1& np1 = parameters::use_default_values(),
- const NamedParameters2& np2 = parameters::use_default_values())
+ const NamedParameters1& np1 = parameters::default_values(),
+ const NamedParameters2& np2 = parameters::default_values())
{
CGAL_assertion_code(
const bool is_triangle = is_triangle_mesh(tm1) && is_triangle_mesh(tm2));
@@ -2478,8 +2478,8 @@ double bounded_error_Hausdorff_distance_naive(
const TriangleMesh1& tm1,
const TriangleMesh2& tm2,
const double error_bound,
- const NamedParameters1& np1 = parameters::use_default_values(),
- const NamedParameters2& np2 = parameters::use_default_values())
+ const NamedParameters1& np1 = parameters::default_values(),
+ const NamedParameters2& np2 = parameters::default_values())
{
CGAL_assertion_code(
const bool is_triangle = is_triangle_mesh(tm1) && is_triangle_mesh(tm2));
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 e30c6cad532..c10ddf77600 100644
--- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/extrude.h
+++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/extrude.h
@@ -165,8 +165,8 @@ void extrude_mesh(const InputMesh& input,
OutputMesh& output,
const BottomFunctor& bot,
const TopFunctor& top,
- const CGAL_BGL_NP_CLASS_1& np_in = parameters::use_default_values(),
- const CGAL_BGL_NP_CLASS_2& np_out = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS_1& np_in = parameters::default_values(),
+ const CGAL_BGL_NP_CLASS_2& np_out = parameters::default_values())
{
typedef typename boost::graph_traits::vertex_descriptor input_vertex_descriptor;
typedef typename boost::graph_traits::halfedge_descriptor input_halfedge_descriptor;
@@ -285,8 +285,8 @@ void extrude_mesh(const InputMesh& input,
#else
typename GetGeomTraits::type::Vector_3 v,
#endif
- const CGAL_BGL_NP_CLASS_1& np_in = parameters::use_default_values(),
- const CGAL_BGL_NP_CLASS_2& np_out = parameters::use_default_values())
+ const CGAL_BGL_NP_CLASS_1& np_in = parameters::default_values(),
+ const CGAL_BGL_NP_CLASS_2& np_out = parameters::default_values())
{
typedef typename GetVertexPointMap < OutputMesh, CGAL_BGL_NP_CLASS_2>::type VPMap;
VPMap output_vpm = parameters::choose_parameter(parameters::get_parameter(np_out, internal_np::vertex_point),
diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/fair.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/fair.h
index 66c30b0c0f0..b7255e6c388 100644
--- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/fair.h
+++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/fair.h
@@ -127,7 +127,7 @@ namespace internal {
typename NamedParameters = parameters::Default_named_parameters>
bool fair(TriangleMesh& tmesh,
const VertexRange& vertices,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
using parameters::get_parameter;
using parameters::choose_parameter;
diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Snapping/helper.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Snapping/helper.h
index c4bdedaebbd..b3165acb327 100644
--- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Snapping/helper.h
+++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Snapping/helper.h
@@ -47,7 +47,7 @@ void assign_tolerance_with_local_edge_length_bound(const HalfedgeRange& halfedge
ToleranceMap& tolerance_map,
const typename GetGeomTraits::type::FT tolerance,
PolygonMesh& mesh,
- const NamedParameters& np = parameters::use_default_values())
+ const NamedParameters& np = parameters::default_values())
{
typedef typename boost::graph_traits::vertex_descriptor vertex_descriptor;
typedef typename boost::graph_traits::halfedge_descriptor halfedge_descriptor;
diff --git a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Snapping/snap.h b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Snapping/snap.h
index 454f1ee5515..8fc643a532c 100644
--- a/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Snapping/snap.h
+++ b/Polygon_mesh_processing/include/CGAL/Polygon_mesh_processing/internal/Snapping/snap.h
@@ -1297,8 +1297,8 @@ std::size_t snap_borders(TriangleMesh& tm_A,
ToleranceMap_A tolerance_map_A,
TriangleMesh& tm_B,
ToleranceMap_B tolerance_map_B,
- const NamedParameters_A& np_A = parameters::use_default_values(),
- const NamedParameters_B& np_B = parameters::use_default_values())
+ const NamedParameters_A& np_A = parameters::default_values(),
+ const NamedParameters_B& np_B = parameters::default_values())
{
typedef typename boost::graph_traits::halfedge_descriptor halfedge_descriptor;
@@ -1318,8 +1318,8 @@ template
std::size_t snap_borders(TriangleMesh& tm_A,
TriangleMesh& tm_B,
- const NamedParameters_A& np_A = parameters::use_default_values(),
- const NamedParameters_B& np_B = parameters::use_default_values())
+ const NamedParameters_A& np_A = parameters::default_values(),
+ const NamedParameters_B& np_B = parameters::default_values())
{
typedef typename boost::graph_traits