#include <CGAL/Shape_detection/Region_growing/Region_growing_on_point_set/Least_squares_cylinder_fit_sorting.h>
Sorting of 3D points with respect to the local cylinder fit quality.
Indices of 3D input points are sorted with respect to the quality of the least squares cylinder fit applied to the neighboring points of each point.
- Template Parameters
-
|
void | sort () |
| sorts indices of input points.
|
|
|
Seed_map | seed_map () |
| returns an instance of Seed_map to access the ordered indices of input points.
|
|
◆ Least_squares_cylinder_fit_sorting()
template<typename GeomTraits , typename InputRange , typename NeighborQuery , typename PointMap , typename NormalMap >
initializes all internal data structures.
- Parameters
-
input_range | an instance of InputRange with 3D points |
neighbor_query | an instance of NeighborQuery that is used internally to access point's neighbors |
point_map | an instance of PointMap that maps an item from input_range to Kernel::Point_3 |
normal_map | an instance of PointMap that maps an item from input_range to Kernel::Vector_3 |
- Precondition
input_range.size() > 0