Better handling of nodes.isCandidatesAngleValid == false
from IRoutingResult::GetPossibleTurns() in GetTurnDirection().
Signed-off-by: Anton Makouski <anton.makouski@gmail.com>
Almost identical Generate()
from CarDirectionsEngine and PedestrianDirectionsEngine
moved to parent class.
MakeTurnAnnotation() - became method of DirectionsEngine.
All VehicleType dependent logic was incapsulated in virtual methods:
- GetTurnDirection()
- FixupTurns().
According existing functions became methods of
CarDirectionsEngine and PedestrianDirectionsEngine.
VehicleType dependent functions moved
from turns_generator to according DirectionsEngines.
Signed-off-by: Anton Makouski <anton.makouski@gmail.com>
Merge of MakeTurnAnnotation and MakeTurnAnnotationPedestrian.
Part 2. Remove MakeTurnAnnotationPedestrian.
Signed-off-by: Anton Makouski <anton.makouski@gmail.com>
Merge of MakeTurnAnnotation and MakeTurnAnnotationPedestrian.
Part 1. Make them the same, but hold different names.
Line by line comparisong can be seen here.
Signed-off-by: Anton Makouski <anton.makouski@gmail.com>