我有以下路线:
The red one is goes from A to B, the blue one goes from A to B and the green one goes from A to B . I have the lat/long for A,B, A , B , A and B (I m using Google Maps API) and I want to know if there is an algorithm to determinate if two routes have the same direction.
例如,在图象中,红线和蓝路方向相同。