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

Function GetGpsPoint

libs/map/extrapolation_benchmark/extrapolation_benchmark.cpp:117–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117bool GetGpsPoint(istringstream & lineStream, uint64_t & timestampS, double & lat, double & lon)
118{
119 if (!GetUint64(lineStream, timestampS))
120 return false;
121 if (!GetDouble(lineStream, lat))
122 return false;
123
124 return GetDouble(lineStream, lon);
125}
126
127/// \brief Fills |tracks| based on file |pathToCsv| content. File |pathToCsv| should be
128/// a text file with following lines:

Callers 1

ParseFunction · 0.85

Calls 2

GetUint64Function · 0.85
GetDoubleFunction · 0.70

Tested by

no test coverage detected