diff --git a/Frechet_distance/include/CGAL/Frechet_distance/Neighbor_search.h b/Frechet_distance/include/CGAL/Frechet_distance/Neighbor_search.h index 9ba6c54f66a..835d7b1c61f 100644 --- a/Frechet_distance/include/CGAL/Frechet_distance/Neighbor_search.h +++ b/Frechet_distance/include/CGAL/Frechet_distance/Neighbor_search.h @@ -67,10 +67,6 @@ public: using Point = Traits::Point_d; #endif - std::vector get_close_curves(const PointRange& query, double distance, Sequential_tag); - std::vector get_close_curves(const PointRange& query, double distance, Parallel_tag); - - /*! returns the indices of the inserted polylines that are closer than `distance` to the polyline `query`. * \param query the query polyline * \param distance the distance bound @@ -85,6 +81,11 @@ public: } private: + + + std::vector get_close_curves(const PointRange& query, double distance, Sequential_tag); + std::vector get_close_curves(const PointRange& query, double distance, Parallel_tag); + Polylines curves; Frechet_distance::internal::FrechetKdTree kd_tree; };