My problem statement is if User one is going from Point A to Point B and User two is going from point C to D, how can I check:
if both the users are going in the same direction?
if both user's route is the same means route from C to D is lying somewhere between Point A to B?