Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions Frechet_distance/include/CGAL/Frechet_distance/Neighbor_search.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ class Neighbor_search
private:


std::vector<std::size_t> get_close_curves(const PointRange& query, double distance, Sequential_tag);
auto get_close_curves(const PointRange& query, double distance, Sequential_tag) -> std::vector<std::size_t>;
#ifdef CGAL_LINKED_WITH_TBB
std::vector<std::size_t> get_close_curves(const PointRange& query, double distance, Parallel_tag);
auto get_close_curves(const PointRange& query, double distance, Parallel_tag) -> std::vector<std::size_t>;
#endif

Polylines curves;
Expand All @@ -98,12 +98,7 @@ class Neighbor_search


template <class PointRange, class Traits>
#ifdef DOXYGEN_RUNNING
std::vector<std::size_t>
#else
auto
#endif
Neighbor_search<PointRange, Traits>::get_close_curves(
auto Neighbor_search<PointRange, Traits>::get_close_curves(
const PointRange& curve, double distance, Sequential_tag) -> std::vector<std::size_t>
{
auto result = kd_tree.search(curve, distance);
Expand All @@ -124,12 +119,7 @@ Neighbor_search<PointRange, Traits>::get_close_curves(

#ifdef CGAL_LINKED_WITH_TBB
template <class PointRange, class Traits>
#ifdef DOXYGEN_RUNNING
std::vector<std::size_t>
#else
auto
#endif
Neighbor_search<PointRange, Traits>::get_close_curves(
auto Neighbor_search<PointRange, Traits>::get_close_curves(
const PointRange& curve, double distance, Parallel_tag) -> std::vector<std::size_t>
{
std::vector<std::size_t> result;
Expand Down