Custom math function calculates the angle between two points.
The returned values are between –180…180 degrees and never divides by zero.
atan2 ( startPoint, endpoint )
on atan2 pt1, pt2
sl = pt2 - pt1
a = atan(sl[2],sl[1]) * 180 / pi
return a
end
Contact
MMI
36 South Court Sq
Suite 300
Newnan, GA 30263
USA