diff --git a/Constrained_triangulation_3/include/CGAL/make_conforming_constrained_Delaunay_triangulation_3.h b/Constrained_triangulation_3/include/CGAL/make_conforming_constrained_Delaunay_triangulation_3.h index 958f4630556..3a4d846066c 100644 --- a/Constrained_triangulation_3/include/CGAL/make_conforming_constrained_Delaunay_triangulation_3.h +++ b/Constrained_triangulation_3/include/CGAL/make_conforming_constrained_Delaunay_triangulation_3.h @@ -114,6 +114,15 @@ namespace CGAL { * Faces with the same patch identifier are considered part of the same surface patch.} * \cgalParamNEnd * + * \cgalParamNBegin{check_preconditions} + * \cgalParamDescription{a boolean activating the check of preconditions on the input + * before starting to construct the triangulation. + * If the check is activated and the preconditions not satisfied, + * the constructed triangulation is empty.} + * \cgalParamType{Boolean} + * \cgalParamDefault{`false`} + * \cgalParamNEnd + * * \cgalParamNBegin{geom_traits} * \cgalParamDescription{an instance of a geometric traits class} * \cgalParamType{`Traits` as defined above in the section \ref make_conforming_constrained_Delaunay_triangulation_3_returned_type} @@ -177,6 +186,15 @@ auto make_conforming_constrained_Delaunay_triangulation_3(const PolygonMesh &mes * \cgalParamExtra{Otherwise faces with the same patch identifier are considered part of the same surface patch.} * \cgalParamNEnd * + * \cgalParamNBegin{check_preconditions} + * \cgalParamDescription{a boolean activating the check of preconditions on the input + * before starting to construct the triangulation. + * If the check is activated and the preconditions not satisfied, + * the constructed triangulation is empty.} + * \cgalParamType{Boolean} + * \cgalParamDefault{`false`} + * \cgalParamNEnd + * * \cgalParamNBegin{geom_traits} * \cgalParamDescription{an instance of a geometric traits class} * \cgalParamType{`Traits` as defined above in the section \ref make_conforming_constrained_Delaunay_triangulation_3_returned_type} diff --git a/STL_Extension/include/CGAL/STL_Extension/internal/parameters_interface.h b/STL_Extension/include/CGAL/STL_Extension/internal/parameters_interface.h index 305527636c1..2172d5b8ae5 100644 --- a/STL_Extension/include/CGAL/STL_Extension/internal/parameters_interface.h +++ b/STL_Extension/include/CGAL/STL_Extension/internal/parameters_interface.h @@ -321,6 +321,9 @@ CGAL_add_named_parameter(preserve_order_t, preserve_order, preserve_order) CGAL_add_named_parameter(adjust_directions_t, adjust_directions, adjust_directions) CGAL_add_named_parameter(segment_t, segment_map, segment_map) +// List of named parameters using in Constrained_triangulation_3 +CGAL_add_named_parameter(check_preconditions_t, check_preconditions, check_preconditions) + // List of named parameters used in Mesh_2 package CGAL_add_named_parameter_with_compatibility(seeds_t, seeds, seeds) CGAL_add_named_parameter_with_compatibility(domain_is_initialized_t, domain_is_initialized, domain_is_initialized)