Make connected_component virtual

This commit is contained in:
Clement Jamin 2015-07-17 14:16:28 +02:00
parent 3b29aeef2d
commit 98e36704f7
1 changed files with 2 additions and 1 deletions

View File

@ -127,7 +127,8 @@ namespace CGAL {
Determines the largest cluster of inlier points. A point belongs to a cluster Determines the largest cluster of inlier points. A point belongs to a cluster
if there is a point in the cluster closer than `cluster_epsilon` distance. if there is a point in the cluster closer than `cluster_epsilon` distance.
*/ */
std::size_t connected_component(std::vector<std::size_t> &indices, FT cluster_epsilon) { virtual std::size_t connected_component(
std::vector<std::size_t> &indices, FT cluster_epsilon) {
if (indices.size() == 0) if (indices.size() == 0)
return 0; return 0;