mirror of https://github.com/CGAL/cgal
Fix point map type
This commit is contained in:
parent
1c3176468e
commit
358b2d20d8
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue