Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ GetCurrentDistanceToEndMeters
Method
GetCurrentDistanceToEndMeters
libs/routing/route.cpp:68–73 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
66
}
67
68
double Route::GetCurrentDistanceToEndMeters() const
69
{
70
if (!IsValid())
71
return 0.0;
72
return m_poly.GetDistanceToEndMeters();
73
}
74
75
double Route::GetCurrentDistanceToSegmentMeters(size_t segIdx) const
76
{
Callers
2
GetRouteFollowingInfo
Method · 0.80
UNIT_TEST
Function · 0.80
Calls
2
GetDistanceToEndMeters
Method · 0.80
IsValid
Function · 0.50
Tested by
1
UNIT_TEST
Function · 0.64