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

Method GetIndexInRoute

libs/platform/location.hpp:130–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128 void Reset() { m_isPositionMatched = false; }
129 bool IsMatched() const { return m_isPositionMatched; }
130 size_t GetIndexInRoute() const { return m_indexInRoute; }
131 m2::PointD GetPosition() const { return m_matchedPosition; }
132 bool HasDistanceFromBegin() const { return m_hasDistanceFromBegin; }
133 double GetDistanceFromBegin() const { return m_distanceFromBegin; }

Callers 2

MatchTrafficMethod · 0.80
UNIT_TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

UNIT_TESTFunction · 0.64