diff --git a/Heat_method_3/include/CGAL/Heat_method_3/Intrinsic_Delaunay_triangulation_3.h b/Heat_method_3/include/CGAL/Heat_method_3/Intrinsic_Delaunay_triangulation_3.h index e39706d304f..caa144890fc 100644 --- a/Heat_method_3/include/CGAL/Heat_method_3/Intrinsic_Delaunay_triangulation_3.h +++ b/Heat_method_3/include/CGAL/Heat_method_3/Intrinsic_Delaunay_triangulation_3.h @@ -355,7 +355,7 @@ private: CGAL_precondition(is_triangle_mesh(m_intrinsic_tm)); typename Traits::Compute_squared_distance_3 squared_distance = Traits().compute_squared_distance_3_object(); - + std::vector > pairs; copy_face_graph(m_input_tm, m_intrinsic_tm, @@ -374,7 +374,7 @@ private: edge_id_map = get(Edge_property_tag(), m_intrinsic_tm); Index edge_i = 0; VertexPointMap vpm_intrinsic_tm = get(boost::vertex_point,m_intrinsic_tm); - + BOOST_FOREACH(edge_descriptor ed, edges(m_intrinsic_tm)) { edge_lengths[edge_i] = CGAL::sqrt(squared_distance(get(vpm_intrinsic_tm, source(ed,m_intrinsic_tm)), get(vpm_intrinsic_tm, target(ed,m_intrinsic_tm)))); diff --git a/Heat_method_3/include/CGAL/Heat_method_3/Surface_mesh_geodesic_distances_3.h b/Heat_method_3/include/CGAL/Heat_method_3/Surface_mesh_geodesic_distances_3.h index 94d77ee03d3..c73efdd6db9 100644 --- a/Heat_method_3/include/CGAL/Heat_method_3/Surface_mesh_geodesic_distances_3.h +++ b/Heat_method_3/include/CGAL/Heat_method_3/Surface_mesh_geodesic_distances_3.h @@ -49,19 +49,18 @@ struct Heat_method_3_private_tests; namespace CGAL { namespace Heat_method_3 { - - /** - * A tag class used to specify that the heat method is applied to the input mesh. - */ - struct Direct - {}; - /** - * A tag class used to specify that the heat method applies the intrinsic Delaunay triangulation to the input mesh. - */ - struct Intrinsic_Delaunay - {}; +/** + * A tag class used to specify that the heat method is applied to the input mesh. + */ +struct Direct +{}; +/** + * A tag class used to specify that the heat method applies the intrinsic Delaunay triangulation to the input mesh. + */ +struct Intrinsic_Delaunay +{}; namespace internal { template source_index; bool source_change_flag; - + }; template } // namespace internal - + /** * \ingroup PkgHeatMethod * @@ -820,7 +814,7 @@ public: { return base().add_source(vd); } - + /** * adds the range of vertices to the source set. */ @@ -867,7 +861,7 @@ public: return base().sources(); } - + /** * fills the distance property map with the estimated geodesic distance of each vertex to the closest source vertex. * \tparam VertexDistanceMap a property map model of `WritablePropertyMap` @@ -905,7 +899,7 @@ estimate_geodesic_distances(const TriangleMesh& tm, hm.estimate_geodesic_distances(vdm); } - + #ifndef DOXYGEN_RUNNING template void @@ -918,7 +912,7 @@ estimate_geodesic_distances(const TriangleMesh& tm, hm.estimate_geodesic_distances(vdm); } #endif - + /// \ingroup PkgHeatMethod /// computes for each vertex of the triangle mesh `tm` the estimated geodesic distance to a given set of source vertices. @@ -931,7 +925,7 @@ estimate_geodesic_distances(const TriangleMesh& tm, /// is computed directly on the mesh, or if the intrinsic Delaunay triangulation is applied first. /// The default is `Direct`. /// -/// \sa CGAL::Heat_method_3::Surface_mesh_geodesic_distances_3 +/// \sa CGAL::Heat_method_3::Surface_mesh_geodesic_distances_3 template void estimate_geodesic_distances(const TriangleMesh& tm,