| 330 | bool IsCountry() const { return m_header.GetType() == feature::DataHeader::MapType::Country; } |
| 331 | |
| 332 | static void SimplifyPoints(int level, bool isCoast, m2::RectD const & rect, Points const & in, Points & out) |
| 333 | { |
| 334 | if (isCoast) |
| 335 | feature::SimplifyPoints(DistanceToSegmentWithRectBounds(rect), level, in, out); |
| 336 | else |
| 337 | feature::SimplifyPoints(m2::SquaredDistanceFromSegmentToPoint(), level, in, out); |
| 338 | } |
| 339 | |
| 340 | std::string m_filename; |
| 341 |
nothing calls this directly
no test coverage detected