| 258 | } |
| 259 | |
| 260 | double RoadGeometry::GetDistance(uint32_t idx) const |
| 261 | { |
| 262 | if (m_distances[idx] < 0) |
| 263 | m_distances[idx] = ms::DistanceOnEarth(m_junctions[idx].GetLatLon(), m_junctions[idx + 1].GetLatLon()); |
| 264 | return m_distances[idx]; |
| 265 | } |
| 266 | |
| 267 | SpeedKMpH const & RoadGeometry::GetSpeed(bool forward) const |
| 268 | { |
no test coverage detected