| 133 | } // namespace |
| 134 | |
| 135 | bool CountryPolygons::Contains(m2::PointD const & point) const |
| 136 | { |
| 137 | return m_polygons.ForAnyInRect(m2::RectD(point, point), [&](auto const & rgn) |
| 138 | { return rgn.Contains(point, ContainsCompareFn(GetContainsEpsilon())); }); |
| 139 | } |
| 140 | |
| 141 | bool LoadBorders(std::string const & borderFile, PolygonsList & outBorders) |
| 142 | { |