两点的方位角

a点到b的射线方位角   Math.atan2(b.y-a.y,b.x-a.x)*180/Math.PI

  

原文地址:https://www.cnblogs.com/Leechg/p/9501001.html