Skip to content

Commit

Permalink
rename api file
Browse files Browse the repository at this point in the history
  • Loading branch information
aboudev committed Jul 2, 2017
1 parent 95c8bb6 commit 68de111
Showing 1 changed file with 6 additions and 6 deletions.
@@ -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 <CGAL/property_map.h>

namespace CGAL
Expand All @@ -13,16 +13,16 @@ template <typename TriangleMesh,
= typename boost::property_map<TriangleMesh, boost::vertex_point_t>::type,
typename GeomTraits
= typename Kernel_traits<typename boost::property_traits<PointPropertyMap>::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<TriangleMesh, PointPropertyMap, GeomTraits>
internal::VSA<TriangleMesh, PointPropertyMap, GeomTraits>
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

0 comments on commit 68de111

Please sign in to comment.