Merge pull request #3775 from MaelRL/Doc_fixes-GF

Doc fixes
This commit is contained in:
Laurent Rineau 2019-03-25 12:24:49 +01:00 committed by GitHub
commit 1014687627
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 42 additions and 36 deletions

View File

@ -234,7 +234,7 @@ is also a model for the concept `TriangulationTraits_2`.
The kernels `Cartesian`, `Homogeneous`, The kernels `Cartesian`, `Homogeneous`,
`Simple_cartesian`, `Simple_homogeneous` and `Simple_cartesian`, `Simple_homogeneous` and
`Filtered_kernel` can all be used as \cgalModels for `Filtered_kernel` can all be used as models for
`Traits`. `Periodic_2_triangulation_traits_2` provides exact `Traits`. `Periodic_2_triangulation_traits_2` provides exact
predicates and exact constructions if `Traits` does. It provides predicates and exact constructions if `Traits` does. It provides
exact predicates but not exact constructions if exact predicates but not exact constructions if

View File

@ -489,7 +489,7 @@ class Polygon_2 {
/// Test for equality: two polygons are equal iff there exists a /// Test for equality: two polygons are equal iff there exists a
/// cyclic permutation of the vertices of `p2` such that they are /// cyclic permutation of the vertices of `p2` such that they are
/// equal to the vertices of `p1`. Note that the template argument /// equal to the vertices of `p1`. Note that the template argument
/// `Container` of `p1` and `p2` may be different. /// `%Container` of `p1` and `p2` may be different.
/// \memberof Polygon_2 /// \memberof Polygon_2
template <class Traits_P, class Container1_P, class Container2_P> template <class Traits_P, class Container1_P, class Container2_P>
bool operator==( const Polygon_2<Traits_P,Container1_P> &p1, bool operator==( const Polygon_2<Traits_P,Container1_P> &p1,
@ -516,18 +516,17 @@ transform(const Transformation& t, const Polygon_2<Traits_P,Container_P>& p);
/// followed by the output of the coordinates of the vertices. /// followed by the output of the coordinates of the vertices.
/// @{ /// @{
/// Inserts the polygon `p` into the stream `os`. \pre The insert /// Reads a polygon from stream `is` and assigns it to `p`.
/// operator must be defined for `Point_2`. /// \pre The extract operator must be defined for `Point_2`.
/// \memberof Polygon_2 /// \memberof Polygon_2
template <class Traits_P, class Container_P> template <class Traits_P, class Container_P>
std::istream &operator>>(std::istream &is, Polygon_2<Traits_P,Container_P>& p); std::istream &operator>>(std::istream &is, Polygon_2<Traits_P,Container_P>& p);
/// Reads a polygon from stream `is` and assigns it /// Inserts the polygon `p` into the stream `os`.
/// to `p`. \pre The extract operator must be defined for `Point_2`. /// \pre The insert operator must be defined for `Point_2`.
/// \memberof Polygon_2 /// \memberof Polygon_2
template <class Traits_P, class Container_P> template <class Traits_P, class Container_P>
std::ostream std::ostream &operator<<(std::ostream &os, const Polygon_2<Traits_P,Container_P>& p);
&operator<<(std::ostream &os, const Polygon_2<Traits_P,Container_P>& p);
/// @} // IO /// @} // IO

View File

@ -140,16 +140,18 @@ struct Identity_functor
* \cgalParamBegin{vertex_point_map} * \cgalParamBegin{vertex_point_map}
* the property map that contains the points associated to the vertices of `input`. * the property map that contains the points associated to the vertices of `input`.
* If this parameter is omitted, an internal property map for `CGAL::vertex_point_t` * If this parameter is omitted, an internal property map for `CGAL::vertex_point_t`
* should be available for the vertices of `input` \cgalParamEnd * should be available for the vertices of `input`
* \cgalParamEnd
* \cgalNamedParamsEnd * \cgalNamedParamsEnd
* *
* * @param np_out an optional sequence of \ref pmp_namedparameters "Named Parameters" among the ones listed below * @param np_out an optional sequence of \ref pmp_namedparameters "Named Parameters" among the ones listed below
* *
* \cgalNamedParamsBegin * \cgalNamedParamsBegin
* \cgalParamBegin{vertex_point_map} * \cgalParamBegin{vertex_point_map}
* the property map that will contain the points associated to the vertices of `output`. * the property map that will contain the points associated to the vertices of `output`.
* If this parameter is omitted, an internal property map for `CGAL::vertex_point_t` * If this parameter is omitted, an internal property map for `CGAL::vertex_point_t`
* should be available for the vertices of `output` \cgalParamEnd * should be available for the vertices of `output`
* \cgalParamEnd
* \cgalNamedParamsEnd * \cgalNamedParamsEnd
*/ */
template <class InputMesh, template <class InputMesh,
@ -242,16 +244,18 @@ void extrude_mesh(const InputMesh& input,
* \cgalParamBegin{vertex_point_map} * \cgalParamBegin{vertex_point_map}
* the property map that contains the points associated to the vertices of `input`. * the property map that contains the points associated to the vertices of `input`.
* If this parameter is omitted, an internal property map for `CGAL::vertex_point_t` * If this parameter is omitted, an internal property map for `CGAL::vertex_point_t`
* should be available for the vertices of `input` \cgalParamEnd * should be available for the vertices of `input`
* \cgalParamEnd
* \cgalNamedParamsEnd * \cgalNamedParamsEnd
* *
* * @param np_out an optional sequence of \ref pmp_namedparameters "Named Parameters" among the ones listed below * @param np_out an optional sequence of \ref pmp_namedparameters "Named Parameters" among the ones listed below
* *
* \cgalNamedParamsBegin * \cgalNamedParamsBegin
* \cgalParamBegin{vertex_point_map} * \cgalParamBegin{vertex_point_map}
* the property map that will contain the points associated to the vertices of `output`. * the property map that will contain the points associated to the vertices of `output`.
* If this parameter is omitted, an internal property map for `CGAL::vertex_point_t` * If this parameter is omitted, an internal property map for `CGAL::vertex_point_t`
* should be available for the vertices of `output` \cgalParamEnd * should be available for the vertices of `output`
* \cgalParamEnd
* \cgalNamedParamsEnd * \cgalNamedParamsEnd
*/ */
template <class InputMesh, template <class InputMesh,

View File

@ -1108,8 +1108,8 @@ bool is_mesh2_in_mesh1(const TriangleMesh& tm1,
/** /**
* \ingroup PMP_predicates_grp * \ingroup PMP_predicates_grp
* returns `true` if any segment of any polyline of `polylines1` intersects * returns `true` if there exists a segment of a polyline of `polylines1`
* any segment of any polyline of `polylines2`, and `false` otherwise. * and a segment of a polyline of `polylines2` which intersect, and `false` otherwise.
* This function depends on the package \ref PkgBoxIntersectionD. * This function depends on the package \ref PkgBoxIntersectionD.
* *
* \tparam PolylineRange a `RandomAccessRange` of `RandomAccessRange` of points. * \tparam PolylineRange a `RandomAccessRange` of `RandomAccessRange` of points.
@ -1151,7 +1151,8 @@ bool do_intersect(const PolylineRange& polylines1,
/** /**
* \ingroup PMP_predicates_grp * \ingroup PMP_predicates_grp
* returns `true` if any segment of `polyline1` intersects any segment of `polyline2`, and `false` otherwise. * returns `true` if there exists a segment of `polyline1` and a segment of `polyline2` which intersect,
* and `false` otherwise.
* This function depends on the package \ref PkgBoxIntersectionD. * This function depends on the package \ref PkgBoxIntersectionD.
* *
* \tparam Polyline a `RandomAccessRange` of points. * \tparam Polyline a `RandomAccessRange` of points.
@ -1196,7 +1197,7 @@ bool do_intersect(const Polyline& polyline1,
/** /**
* \ingroup PMP_predicates_grp * \ingroup PMP_predicates_grp
* returns `true` if any face of `tm1` intersects any face of `tm2`, and `false` otherwise. * returns `true` if there exists a face of `tm1` and a face of `tm2` which intersect, and `false` otherwise.
* If `do_overlap_test_of_bounded_sides` is set to `true`, the overlap of bounded sides are tested as well. In that case, the meshes must be closed. * If `do_overlap_test_of_bounded_sides` is set to `true`, the overlap of bounded sides are tested as well. In that case, the meshes must be closed.
* This function depends on the package \ref PkgBoxIntersectionD. * This function depends on the package \ref PkgBoxIntersectionD.
* *
@ -1215,8 +1216,9 @@ bool do_intersect(const Polyline& polyline1,
* @param np2 optional sequence of \ref pmp_namedparameters for `tm2`, among the ones listed below * @param np2 optional sequence of \ref pmp_namedparameters for `tm2`, among the ones listed below
* *
* \cgalNamedParamsBegin * \cgalNamedParamsBegin
* \cgalParamBegin{vertex_point_map} the property map with the points associated to the vertices of `tm1` (tm2`). * \cgalParamBegin{vertex_point_map} the property map with the points associated to the vertices of `tm1` (`tm2`).
* \attention The two property maps must have the same `value_type`. * \attention The two property maps must have the same `value_type`.
*
* If this parameter is omitted, an internal property map for * If this parameter is omitted, an internal property map for
* `CGAL::vertex_point_t` must be available in `TriangleMesh`\cgalParamEnd * `CGAL::vertex_point_t` must be available in `TriangleMesh`\cgalParamEnd
* \cgalParamBegin{geom_traits} an instance of a geometric traits class, model of `PMPSelfIntersectionTraits` \cgalParamEnd * \cgalParamBegin{geom_traits} an instance of a geometric traits class, model of `PMPSelfIntersectionTraits` \cgalParamEnd
@ -1284,7 +1286,8 @@ bool do_intersect(const TriangleMesh& tm1,
/** /**
* \ingroup PMP_predicates_grp * \ingroup PMP_predicates_grp
* returns `true` if any face of `tm` and any segment of any polyline of `polylines` intersects, and `false` otherwise. * returns `true` if there exists a face of `tm` and a segment of a polyline of `polylines` which intersect,
* and `false` otherwise.
* This function depends on the package \ref PkgBoxIntersectionD. * This function depends on the package \ref PkgBoxIntersectionD.
* @pre `CGAL::is_triangle_mesh(tm)` * @pre `CGAL::is_triangle_mesh(tm)`
* *
@ -1339,7 +1342,7 @@ bool do_intersect(const TriangleMesh& tm,
/** /**
* \ingroup PMP_predicates_grp * \ingroup PMP_predicates_grp
* returns `true` if any face of `tm` and any segment of `polyline` intersects, and `false` otherwise. * returns `true` if there exists a face of `tm` and a segment of `polyline` which intersect, and `false` otherwise.
* This function depends on the package \ref PkgBoxIntersectionD. * This function depends on the package \ref PkgBoxIntersectionD.
* @pre `CGAL::is_triangle_mesh(tm)` * @pre `CGAL::is_triangle_mesh(tm)`
* *

View File

@ -242,7 +242,7 @@ before the insertions (it may be negative due to hidden points).
Note that this function is not guaranteed to insert the weighted points Note that this function is not guaranteed to insert the weighted points
following the order of `InputIterator`, as `spatial_sort()` following the order of `InputIterator`, as `spatial_sort()`
is used to improve efficiency. is used to improve efficiency.
\tparam InputIterator must be an input iterator with the value type `Weighted_point`. \tparam InputIterator must be an input iterator with the value type \link Regular_triangulation_2::Weighted_point `Weighted_point` \endlink.
*/ */
template < class InputIterator > template < class InputIterator >
std::ptrdiff_t std::ptrdiff_t
@ -260,8 +260,8 @@ Given a pair `(p,i)`, the vertex `v` storing `p` also stores `i`, that is
only one vertex is created, one of the objects of type `Vertex::Info` will be stored in the vertex. only one vertex is created, one of the objects of type `Vertex::Info` will be stored in the vertex.
\pre `Vertex` must be model of the concept `TriangulationVertexBaseWithInfo_2`. \pre `Vertex` must be model of the concept `TriangulationVertexBaseWithInfo_2`.
\tparam WeightedPointWithInfoInputIterator must be an input iterator with value type `std::pair<Weighted_point,Vertex::Info>`. \tparam WeightedPointWithInfoInputIterator must be an input iterator with value type
`std::pair<%Weighted_point,Vertex::Info>`.
*/ */
template < class WeightedPointWithInfoInputIterator > template < class WeightedPointWithInfoInputIterator >
std::ptrdiff_t std::ptrdiff_t

View File

@ -103,7 +103,7 @@ Regular_triangulation_3(const Regular_triangulation_3 & rt1);
Equivalent to constructing an empty triangulation with the optional Equivalent to constructing an empty triangulation with the optional
traits class argument and calling `insert(first,last)`. traits class argument and calling `insert(first,last)`.
If parallelism is enabled, the points will be inserted in parallel. If parallelism is enabled, the points will be inserted in parallel.
\tparam InputIterator must be an input iterator with value type `Weighted_point`. \tparam InputIterator must be an input iterator with value type \link Regular_triangulation_3::Weighted_point `Weighted_point` \endlink.
*/ */
template < class InputIterator > template < class InputIterator >
Regular_triangulation_3 (InputIterator first, InputIterator last, Regular_triangulation_3 (InputIterator first, InputIterator last,
@ -176,7 +176,7 @@ following the order of `InputIterator`, as `spatial_sort()`
is used to improve efficiency. is used to improve efficiency.
If parallelism is enabled, the points will be inserted in parallel. If parallelism is enabled, the points will be inserted in parallel.
\tparam InputIterator must be an input iterator with value type `Weighted_point`. \tparam InputIterator must be an input iterator with value type \link Regular_triangulation_3::Weighted_point `Weighted_point` \endlink.
*/ */
template < class InputIterator > template < class InputIterator >
std::ptrdiff_t std::ptrdiff_t