| 23 | namespace routing |
| 24 | { |
| 25 | CrossBorderSegmentEnding ReadSegmentEnding(coding::CSVReader::Row const & tokens, size_t fromIndex) |
| 26 | { |
| 27 | ms::LatLon latLon; |
| 28 | latLon.m_lat = std::stod(tokens[fromIndex++]); |
| 29 | latLon.m_lon = std::stod(tokens[fromIndex++]); |
| 30 | |
| 31 | auto const mwmId = static_cast<NumMwmId>(std::stol(tokens[fromIndex])); |
| 32 | |
| 33 | return CrossBorderSegmentEnding(latLon, mwmId); |
| 34 | } |
| 35 | |
| 36 | std::pair<RegionSegmentId, CrossBorderSegment> ReadSegment(coding::CSVReader::Row const & tokens) |
| 37 | { |
no test coverage detected