Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ GetDistanceToEndMeters
Method
GetDistanceToEndMeters
libs/routing/base/followed_polyline.cpp:71–74 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
69
}
70
71
double FollowedPolyline::GetDistanceToEndMeters() const
72
{
73
return GetTotalDistanceMeters() - GetDistanceFromStartMeters();
74
}
75
76
void FollowedPolyline::Swap(FollowedPolyline & rhs)
77
{
Callers
2
GetCurrentDistanceToEndMeters
Method · 0.80
UNIT_TEST
Function · 0.80
Calls
no outgoing calls
Tested by
1
UNIT_TEST
Function · 0.64