GetAngle

number GetAngle(point origin, point dest)

Calculates the angle of the two points and returns it. It always generates a positive angle.

Example

(var anAngle)

= anAngle GetAngle( 10 20  100 80)

see also: GetDistance