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

Method GetTotalDistanceMeters

libs/routing/route.cpp:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54double Route::GetTotalDistanceMeters() const
55{
56 if (!IsValid())
57 return 0.0;
58 return m_poly.GetTotalDistanceMeters();
59}
60
61double Route::GetCurrentDistanceFromBeginMeters() const
62{

Callers 4

GetRouteFollowingInfoMethod · 0.45
GetCompletionPercentMethod · 0.45
DoCalculateRouteMethod · 0.45

Calls 1

IsValidFunction · 0.50

Tested by

no test coverage detected