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

Method MoveIterator

libs/routing/route.cpp:372–378  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370}
371
372bool Route::MoveIterator(location::GpsInfo const & info)
373{
374 m2::RectD const rect = mercator::MetersToXY(info.m_longitude, info.m_latitude,
375 max(m_routingSettings.m_matchingThresholdM, info.m_horizontalAccuracy));
376
377 return m_poly.UpdateMatchingProjection(rect);
378}
379
380double Route::GetPolySegAngle(size_t ind) const
381{

Callers 4

MoveRouteFunction · 0.80
UNIT_TESTFunction · 0.80
UNIT_TESTFunction · 0.80

Calls 2

MetersToXYFunction · 0.85

Tested by 3

MoveRouteFunction · 0.64
UNIT_TESTFunction · 0.64
UNIT_TESTFunction · 0.64