Calculates the as-the-crow-flies distance between P1 and P2.
Syntax: DistanceBetweenPoints(P1,P2: TFloatPoint): double