| 95 | } |
| 96 | |
| 97 | PedestrianDirection IntermediateDirectionPedestrian(double const angle) |
| 98 | { |
| 99 | static std::vector<std::pair<double, PedestrianDirection>> const kLowerBounds = { |
| 100 | {10.0, PedestrianDirection::TurnRight}, |
| 101 | {-10.0, PedestrianDirection::GoStraight}, |
| 102 | {-180.0, PedestrianDirection::TurnLeft}}; |
| 103 | |
| 104 | return FindDirectionByAngle(kLowerBounds, angle); |
| 105 | } |
| 106 | |
| 107 | double CalcEstimatedTimeToPass(double const distanceMeters, HighwayClass const highwayClass) |
| 108 | { |
no test coverage detected