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

Method SetFakeSegmentIndexes

libs/routing/base/followed_polyline.cpp:178–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178void FollowedPolyline::SetFakeSegmentIndexes(vector<size_t> && fakeSegmentIndexes)
179{
180 ASSERT(is_sorted(fakeSegmentIndexes.cbegin(), fakeSegmentIndexes.cend()), ());
181 m_fakeSegmentIndexes = std::move(fakeSegmentIndexes);
182}
183
184double FollowedPolyline::GetDistFromCurPointToRoutePointMerc() const
185{

Callers 1

SetRouteSegmentsMethod · 0.80

Calls 3

ASSERTFunction · 0.85
cbeginMethod · 0.45
cendMethod · 0.45

Tested by

no test coverage detected