From 64528e534e44a839703e98e0842abd204d95eec3 Mon Sep 17 00:00:00 2001 From: Lingjie Zhu Date: Sun, 2 Jul 2017 21:44:40 +0800 Subject: [PATCH] rename api file --- ..._mesh_segmentation.h => vsa_mesh_approximation.h} | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) rename Surface_mesh_approximation/include/CGAL/{vsa_mesh_segmentation.h => vsa_mesh_approximation.h} (66%) diff --git a/Surface_mesh_approximation/include/CGAL/vsa_mesh_segmentation.h b/Surface_mesh_approximation/include/CGAL/vsa_mesh_approximation.h similarity index 66% rename from Surface_mesh_approximation/include/CGAL/vsa_mesh_segmentation.h rename to Surface_mesh_approximation/include/CGAL/vsa_mesh_approximation.h index 037084cad7a..db22d673c75 100644 --- a/Surface_mesh_approximation/include/CGAL/vsa_mesh_segmentation.h +++ b/Surface_mesh_approximation/include/CGAL/vsa_mesh_approximation.h @@ -1,7 +1,7 @@ -#ifndef CGAL_SURFACE_MESH_SEGMENTATION_VSA_MESH_SEGMENTATION_H -#define CGAL_SURFACE_MESH_SEGMENTATION_VSA_MESH_SEGMENTATION_H +#ifndef CGAL_SURFACE_MESH_APPROXIMATION_VSA_MESH_APPROXIMATION_H +#define CGAL_SURFACE_MESH_APPROXIMATION_VSA_MESH_APPROXIMATION_H -#include "VSA_segmentation.h" +#include "VSA.h" #include namespace CGAL @@ -13,16 +13,16 @@ template ::type, typename GeomTraits = typename Kernel_traits::value>::Kernel> - void vsa_mesh_segmentation(const TriangleMesh &triangle_mesh, + void vsa_mesh_approximation(const TriangleMesh &triangle_mesh, const std::size_t number_of_segments, SegmentPropertyMap segment_ids, FittingPropertyMap fit_error_map = FittingPropertyMap(), PointPropertyMap ppmap = PointPropertyMap(), GeomTraits traits = GeomTraits()) { - internal::VSA_segmentation + internal::VSA algorithm(triangle_mesh, ppmap, traits); algorithm.partition(number_of_segments, segment_ids); } } -#endif // CGAL_SURFACE_MESH_SEGMENTATION_VSA_MESH_SEGMENTATION_H +#endif // CGAL_SURFACE_MESH_APPROXIMATION_VSA_MESH_APPROXIMATION_H