From 671eb4a99a6911e70f90fa455c1a319e30a13427 Mon Sep 17 00:00:00 2001 From: Dmitry Anisimov Date: Thu, 3 Jun 2021 17:15:54 +0200 Subject: [PATCH] updated weights in the surface mesh skeletonization package --- .../CGAL/Mean_curvature_flow_skeletonization.h | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/Surface_mesh_skeletonization/include/CGAL/Mean_curvature_flow_skeletonization.h b/Surface_mesh_skeletonization/include/CGAL/Mean_curvature_flow_skeletonization.h index 24adb7f8210..2c6492cb236 100644 --- a/Surface_mesh_skeletonization/include/CGAL/Mean_curvature_flow_skeletonization.h +++ b/Surface_mesh_skeletonization/include/CGAL/Mean_curvature_flow_skeletonization.h @@ -35,7 +35,7 @@ #include // Compute cotangent Laplacian -#include +#include // Compute the vertex normal #include @@ -222,12 +222,9 @@ public: typedef typename boost::graph_traits::edge_descriptor edge_descriptor; typedef typename boost::graph_traits::edge_iterator edge_iterator; - // Cotangent weight calculator - typedef internal::Cotangent_weight::type, - internal::Cotangent_value_minimum_zero::type, - internal::Cotangent_value_Meyer_secure > > Weight_calculator; + // Get weight from the weight interface. + typedef CGAL::Weights::internal:: + Cotangent_weight_wrapper Weight_calculator; typedef internal::Curve_skeleton