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

Method ForEachFeatureClosestToCross

libs/routing/features_road_graph.cpp:145–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143};
144
145void FeaturesRoadGraphBase::ForEachFeatureClosestToCross(m2::PointD const & cross,
146 ICrossEdgesLoader & edgesLoader) const
147{
148 CrossFeaturesLoader featuresLoader(*this, edgesLoader);
149 m2::RectD const rect = mercator::RectByCenterXYAndSizeInMeters(cross, kMwmRoadCrossingRadiusMeters);
150 m_dataSource.ForEachStreet(featuresLoader, rect);
151}
152
153void FeaturesRoadGraphBase::FindClosestEdges(m2::RectD const & rect, uint32_t count,
154 vector<pair<Edge, geometry::PointWithAltitude>> & vicinities) const

Callers

nothing calls this directly

Calls 2

ForEachStreetMethod · 0.80

Tested by

no test coverage detected