update np to new format

This commit is contained in:
Sébastien Loriot 2020-04-18 14:47:58 +02:00
parent 3b52dfd7de
commit 716d8011e1
1 changed files with 30 additions and 11 deletions

View File

@ -466,18 +466,37 @@ reduce_face_selection(
\param np optional sequence of named parameters among the ones listed below \param np optional sequence of named parameters among the ones listed below
\cgalNamedParamsBegin \cgalNamedParamsBegin
\cgalParamBegin{face_index_map} \cgalParamNBegin{vertex_point_map}
the property map with the indices associated to the faces of `mesh` \cgalParamDescription{a property map associating points to the vertices of `tm`}
\cgalParamEnd \cgalParamType{a class model of `ReadWritePropertyMap` with `boost::graph_traits<TriangleMesh>::%vertex_descriptor`
\cgalParamBegin{vertex_point_map} as key type and `%Point_3` as value type}
the property map with the points associated to the vertices of `mesh` \cgalParamDefault{`boost::get(CGAL::vertex_point, tm)`}
\cgalParamEnd \cgalParamExtra{If this parameter is omitted, an internal property map for `CGAL::vertex_point_t`
\cgalParamBegin{prevent_unselection} must be available in `TriangleMesh`.}
if `true` only new faces can be selected, if `false` (default) some \cgalParamNEnd
faces can be unselected
\cgalParamEnd \cgalParamNBegin{face_index_map}
\cgalParamBegin{geom_traits} an instance of a geometric traits class, model of `Kernel`\cgalParamEnd \cgalParamDescription{a property map associating to each face of `tm` a unique index between `0` and `num_faces(tm) - 1`}
\cgalParamType{a class model of `ReadablePropertyMap` with `boost::graph_traits<TriangleMesh>::%face_descriptor`
as key type and `std::size_t` as value type}
\cgalParamDefault{an automatically indexed internal map}
\cgalParamNEnd
\cgalParamNBegin{prevent_unselection}
\cgalParamDescription{Boolean used to indicate if selection can be only extended or if it can also be shrinked.}
\cgalParamType{`bool`}
\cgalParamDefault{`false`}
\cgalParamExtra{The geometric traits class must be compatible with the vertex point type.}
\cgalParamNEnd
\cgalParamNBegin{geom_traits}
\cgalParamDescription{an instance of a geometric traits class}
\cgalParamType{a class model of `Kernel`}
\cgalParamDefault{a \cgal Kernel deduced from the point type, using `CGAL::Kernel_traits`}
\cgalParamExtra{The geometric traits class must be compatible with the vertex point type.}
\cgalParamNEnd
\cgalNamedParamsEnd \cgalNamedParamsEnd
*/ */
template <typename TriangleMesh, typename IsSelectedMap, typename NamedParameters> template <typename TriangleMesh, typename IsSelectedMap, typename NamedParameters>