Bearing from Two Coordinates

Compute the bearing (azimuth) between two points from their coordinates.

📐 計算公式
座標方位角 α = atan2(ΔE, ΔN) × 180÷π(自北方向順時針量取),負角 +360° 歸一至 0~360°;兩點水平距離 = √(ΔN² + ΔE²)(與輸入座標同單位)。校驗:ΔN、ΔE 分別必填,0 合法、留空不計算。判據:ΔN=ΔE=0 為重合點、方位角未定義;ΔE=0 落在正北/正南軸線,ΔN=0 落在正東/正西軸線;其餘按 ΔN/ΔE 符號判四象限。

輸入北向增量 ΔN 與東向增量 ΔE,求方位角(0–360°)。

Formula & Standard References

Item Formula / Note Source / Standard
Inverse azimuth alpha = atan2(ΔE, ΔN), where ΔN and ΔE are the north and east differences GB 50026-2020, Code for engineering surveying
Quadrant determination Use the signs of ΔN and ΔE to fix the quadrant GB 50026-2020, Code for engineering surveying
Horizontal distance D = sqrt( ΔN^2 + ΔE^2 ) GB 50026-2020, Code for engineering surveying
Range Azimuth is measured clockwise from north, ranging from 0° to 360° GB 50026-2020, Code for engineering surveying
📌 計算說明
  • atan2(東,北) 保證象限正確。
  • ΔN=ΔE=100 → 45°。