mirror of https://github.com/CGAL/cgal
use new API
This commit is contained in:
parent
3b4a406204
commit
48d185fa6f
|
|
@ -112,13 +112,14 @@ int main (int argc, char** argv)
|
||||||
const std::size_t min_region_size = 10;
|
const std::size_t min_region_size = 10;
|
||||||
|
|
||||||
Neighbor_query neighbor_query (
|
Neighbor_query neighbor_query (
|
||||||
pts,
|
pts, CGAL::parameters::sphere_radius(search_sphere_radius)
|
||||||
search_sphere_radius,
|
.point_map(pts.point_map()));
|
||||||
pts.point_map());
|
|
||||||
Region_type region_type(
|
Region_type region_type(
|
||||||
pts,
|
pts, CGAL::parameters::maximum_distance(max_distance_to_plane)
|
||||||
max_distance_to_plane, max_accepted_angle, min_region_size,
|
.maximum_angle(max_accepted_angle)
|
||||||
pts.point_map(), pts.normal_map());
|
.minimum_region_size(min_region_size)
|
||||||
|
.point_map(pts.point_map())
|
||||||
|
.normal_map(pts.normal_map()));
|
||||||
Region_growing region_growing (
|
Region_growing region_growing (
|
||||||
pts, neighbor_query, region_type);
|
pts, neighbor_query, region_type);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue