Fix point map type

This commit is contained in:
Simon Giraudot 2020-03-26 11:10:23 +01:00
parent 1c3176468e
commit 358b2d20d8
1 changed files with 1 additions and 2 deletions

View File

@ -198,8 +198,7 @@ segmentation_from_sdf_values( const TriangleMesh& triangle_mesh,
PointPropertyMap ppmap=PointPropertyMap(),
GeomTraits traits=GeomTraits())
{
typedef typename boost::property_map<TriangleMesh, boost::vertex_point_t>::type VPMap;
internal::Surface_mesh_segmentation<TriangleMesh, GeomTraits, VPMap> algorithm(triangle_mesh, traits, ppmap);
internal::Surface_mesh_segmentation<TriangleMesh, GeomTraits, PointPropertyMap> algorithm(triangle_mesh, traits, ppmap);
return algorithm.partition(number_of_clusters, smoothing_lambda, sdf_values_map,
segment_ids, !output_cluster_ids);
}