Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ GetCurrentDistanceFromBeginMeters
Method
GetCurrentDistanceFromBeginMeters
libs/routing/route.cpp:61–66 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
59
}
60
61
double Route::GetCurrentDistanceFromBeginMeters() const
62
{
63
if (!IsValid())
64
return 0.0;
65
return m_poly.GetDistanceFromStartMeters();
66
}
67
68
double Route::GetCurrentDistanceToEndMeters() const
69
{
Callers
4
OnLocationPositionChanged
Method · 0.80
GetCompletionPercent
Method · 0.80
OnLocationPositionChanged
Method · 0.80
CheckZone
Function · 0.80
Calls
2
GetDistanceFromStartMeters
Method · 0.80
IsValid
Function · 0.50
Tested by
1
CheckZone
Function · 0.64