start documentation for get_border and incremental_triangle_based_remeshing

This commit is contained in:
Jane Tournois 2015-05-20 16:52:28 +02:00 committed by Sébastien Loriot
parent e6a7b5a0a3
commit c41bc2250d
2 changed files with 33 additions and 13 deletions

View File

@ -29,11 +29,19 @@
namespace CGAL{
namespace Polygon_mesh_processing {
/**
/*!
\ingroup PkgPolygonMeshProcessing
* collects the border of a face range
* @param faces the range of face descriptors around which the
* border is computed
* @param out the output iterator that collects edges that form the border
* @tparam PolygonMesh model of `HalfedgeGraph`
* @tparam FaceRange
* @tparam HalfedgeOutputIterator model of `OutputIterator`
holding `boost::graph_traits<PolygonMesh>::%halfedge_descriptor`
for patch border
* @param faces the range of face descriptors describing the surface patch
* around which the border is computed
* @param out the output iterator that collects halfedges that form the border
* of `faces`, seen from inside the surface patch
*
* @todo code : what shall we do for more than one connected components

View File

@ -32,22 +32,34 @@ namespace CGAL {
namespace Polygon_mesh_processing {
/**
/*!
* \ingroup PkgPolygonMeshProcessing
* @brief remeshes a triangulated region of a polygon mesh.
* implements section 6.5.3 "Incremental remeshing" from the PMP book
*
* @tparam PolygonMesh model of `MutableFaceGraph` that
* has an internal property map for `CGAL::vertex_point_t`
* @tparam FaceRange range of face descriptors, model of `SinglePassRange`
* @tparam FaceRange range of `boost::graph_traits<PolygonMesh>::%face_descriptor`,
model of `Range`. Its iterator type is `InputIterator`.
* @tparam NamedParameters a sequence of \ref namedparameters
*
* @param pmesh polygon mesh with patches to be refined
* @param pmesh polygon mesh with patches to be remeshed
* @param faces the range of faces defining one patch to remesh
* @param target_edge_length the edge length that is targetted in the remeshed patch
* @param np optional sequence of \ref namedparameters among the ones listed below
* \cgalNamedParamsBegin
* \cgalParamBegin{vertex_point_map} the property map with the points associated
* to the vertices of `pmesh`. Instance of a class model of `ReadWritePropertyMap`.
* \cgalParamEnd
* \cgalParamBegin{number_of_iterations} TODO...
* \cgalParamEnd
* \cgalParamBegin{geom_traits} a geometric traits class instance
\cgalParamEnd
* \cgalNamedParamsEnd
*
* named parameters :
* vertex_point_map
* nb_iterations
* geom_traits, that needs Point_3, Vector_3, Plane_3
*
*@todo we suppose `faces` describe only one patch. Handle several patches
*@todo we suppose `faces` describe only one patch. Handle several patches.
*@todo document `number_of_iterations`
*/
template<typename PolygonMesh
, typename FaceRange