Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'indexer/cell_coverer.hpp')
-rw-r--r--indexer/cell_coverer.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/indexer/cell_coverer.hpp b/indexer/cell_coverer.hpp
index 3763fac592..d08bac64fe 100644
--- a/indexer/cell_coverer.hpp
+++ b/indexer/cell_coverer.hpp
@@ -9,14 +9,14 @@
template <typename BoundsT, typename CellIdT>
inline void SplitRectCell(CellIdT id,
- CoordT minX, CoordT minY,
- CoordT maxX, CoordT maxY,
+ double minX, double minY,
+ double maxX, double maxY,
vector<CellIdT> & result)
{
for (int8_t i = 0; i < 4; ++i)
{
CellIdT child = id.Child(i);
- CoordT minCellX, minCellY, maxCellX, maxCellY;
+ double minCellX, minCellY, maxCellX, maxCellY;
CellIdConverter<BoundsT, CellIdT>::GetCellBounds(child, minCellX, minCellY, maxCellX, maxCellY);
if (!((maxX < minCellX) || (minX > maxCellX) || (maxY < minCellY) || (minY > maxCellY)))
result.push_back(child);
@@ -24,8 +24,8 @@ inline void SplitRectCell(CellIdT id,
}
template <typename BoundsT, typename CellIdT>
-inline void CoverRect(CoordT minX, CoordT minY,
- CoordT maxX, CoordT maxY,
+inline void CoverRect(double minX, double minY,
+ double maxX, double maxY,
size_t cells_count, int maxDepth,
vector<CellIdT> & cells)
{