Made functions private

This commit is contained in:
Andreas Fabri 2025-05-07 15:23:48 +01:00
parent bdab5a95ec
commit b4f0e38069
1 changed files with 5 additions and 4 deletions

View File

@ -67,10 +67,6 @@ public:
using Point = Traits::Point_d; using Point = Traits::Point_d;
#endif #endif
std::vector<std::size_t> get_close_curves(const PointRange& query, double distance, Sequential_tag);
std::vector<std::size_t> 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`. /*! returns the indices of the inserted polylines that are closer than `distance` to the polyline `query`.
* \param query the query polyline * \param query the query polyline
* \param distance the distance bound * \param distance the distance bound
@ -85,6 +81,11 @@ public:
} }
private: private:
std::vector<std::size_t> get_close_curves(const PointRange& query, double distance, Sequential_tag);
std::vector<std::size_t> get_close_curves(const PointRange& query, double distance, Parallel_tag);
Polylines curves; Polylines curves;
Frechet_distance::internal::FrechetKdTree<Traits> kd_tree; Frechet_distance::internal::FrechetKdTree<Traits> kd_tree;
}; };