From c2582dd7e3ff9eb95582f9ebb203d79a5c2aaecd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Thu, 18 Dec 2014 17:41:37 +0100 Subject: [PATCH] remove extra step done in the post-processing --- .../Polyhedron_demo_mean_curvature_flow_skeleton_plugin.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Polyhedron/demo/Polyhedron/Polyhedron_demo_mean_curvature_flow_skeleton_plugin.cpp b/Polyhedron/demo/Polyhedron/Polyhedron_demo_mean_curvature_flow_skeleton_plugin.cpp index c6f38c0e440..328fa3650ce 100644 --- a/Polyhedron/demo/Polyhedron/Polyhedron_demo_mean_curvature_flow_skeleton_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Polyhedron_demo_mean_curvature_flow_skeleton_plugin.cpp @@ -489,11 +489,6 @@ void Polyhedron_demo_mean_curvature_flow_skeleton_plugin::on_actionSegment() max_dis = (std::min)(max_dis, avg_dis); } - for (Facet_iterator f = segment_mesh->facets_begin(); f != segment_mesh->facets_end(); ++f) - { - sdf_property_map[f] = (sdf_property_map[f] - min_dis) / (max_dis - min_dis); - } - CGAL::sdf_values_postprocessing (*segment_mesh, sdf_property_map); // create a property-map for segment-ids (it is an adaptor for this case)