mirror of https://github.com/CGAL/cgal
Update example with API
This commit is contained in:
parent
94b2fe7206
commit
fad329db29
|
|
@ -42,7 +42,7 @@ int main(int argc, char*argv[])
|
||||||
= CGAL::remove_outliers(points.begin(), points.end(),
|
= CGAL::remove_outliers(points.begin(), points.end(),
|
||||||
CGAL::Identity_property_map<Point>(),
|
CGAL::Identity_property_map<Point>(),
|
||||||
nb_neighbors,
|
nb_neighbors,
|
||||||
0., // No minimum percentage to remove
|
100., // No limit on the number of outliers to remove
|
||||||
2. * average_spacing); // Point with distance above 2*average_spacing are considered outliers
|
2. * average_spacing); // Point with distance above 2*average_spacing are considered outliers
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue