Optimise R-tree queries in the case if there is no need to limit maximum number of results

This commit is contained in:
Siarhei Fedartsou 2024-05-12 12:16:06 +02:00
parent 8ac393623c
commit 99dceb1abb

View File

@ -74,11 +74,6 @@ template <typename RTreeT, typename DataFacadeT> class GeospatialQuery
{
return std::pair<bool, bool>{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)