From 99dceb1abb3c156ac25efc1c907672b55dd875c4 Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Sun, 12 May 2024 12:16:06 +0200 Subject: [PATCH] Optimise R-tree queries in the case if there is no need to limit maximum number of results --- include/engine/geospatial_query.hpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/engine/geospatial_query.hpp b/include/engine/geospatial_query.hpp index c7310f43a..6ae53bd85 100644 --- a/include/engine/geospatial_query.hpp +++ b/include/engine/geospatial_query.hpp @@ -74,11 +74,6 @@ template class GeospatialQuery { return std::pair{false, false}; } - (void)approach; - (void)use_all_edges; - (void)bearing_with_range; - (void)use_all_edges; - auto valid = CheckSegmentExclude(segment) && CheckApproach(input_coordinate, segment, approach) && (use_all_edges ? HasValidEdge(segment, *use_all_edges)