Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ GetTotalDistanceMeters
Method
GetTotalDistanceMeters
libs/routing/base/followed_polyline.cpp:48–56 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
46
}
47
48
double FollowedPolyline::GetTotalDistanceMeters() const
49
{
50
if (!IsValid())
51
{
52
ASSERT(IsValid(), ());
53
return 0;
54
}
55
return m_segDistance.back();
56
}
57
58
double FollowedPolyline::GetDistanceFromStartMeters() const
59
{
Callers
6
TestRouteLength
Function · 0.45
TestRouters
Method · 0.45
TestRouter
Function · 0.45
operator()
Method · 0.45
BuildRoute
Method · 0.45
UNIT_TEST
Function · 0.45
Calls
3
ASSERT
Function · 0.85
back
Method · 0.80
IsValid
Function · 0.50
Tested by
5
TestRouteLength
Function · 0.36
TestRouters
Method · 0.36
TestRouter
Function · 0.36
BuildRoute
Method · 0.36
UNIT_TEST
Function · 0.36