MCPcopy 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
61double Route::GetCurrentDistanceFromBeginMeters() const
62{
63 if (!IsValid())
64 return 0.0;
65 return m_poly.GetDistanceFromStartMeters();
66}
67
68double Route::GetCurrentDistanceToEndMeters() const
69{

Callers 4

GetCompletionPercentMethod · 0.80
CheckZoneFunction · 0.80

Calls 2

IsValidFunction · 0.50

Tested by 1

CheckZoneFunction · 0.64