MCPcopy Create free account
hub / github.com/comaps/comaps / ForClosestToPoint

Method ForClosestToPoint

libs/indexer/data_source.cpp:261–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

259}
260
261void DataSource::ForClosestToPoint(FeatureCallback const & f, StopSearchCallback const & stop,
262 m2::PointD const & center, double sizeM, int scale) const
263{
264 auto const rect = mercator::RectByCenterXYAndSizeInMeters(center, sizeM);
265 ReadMWMFunctor readFunctor(*m_factory, f, stop);
266 ForEachInIntervals(readFunctor, covering::CoveringMode::Spiral, rect, scale);
267}
268
269void DataSource::ForEachInScale(FeatureCallback const & f, int scale) const
270{

Callers 1

GetNearbyBuildingsMethod · 0.80

Calls 1

Tested by

no test coverage detected