Coordinate Increment from Distance and Bearing
Compute the coordinate increments (ΔN, ΔE) from a distance and a bearing.
📐 計算公式
座標正算:縱座標增量 ΔN = 平距 D × cos(方位角 α)、橫座標增量 ΔE = D × sin(α)(α 由度 × π ÷ 180 化弧度參與計算);由增量反算方位角 = atan2(ΔE, ΔN) × 180 ÷ π 化回度並歸一到 0–360°;反方位角 = 反算方位角 ±180° 後歸一到 0–360°,與原方向相差 180°;增量平方和 = ΔN² + ΔE²(勾股復算口徑)。校驗:留空/非數值先攔截,負距離拒絕;距離為 0 時終點與起點重合,方位角與反方位角未定義,不出確定方向。判據:正反算互為逆運算,α = 0° 時只有 ΔN、α = 90° 時只有 ΔE,各項保留 3 位小數。
輸入距離 D 與方位角 α(度),求北向與東向增量。
Formula & Standard References
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Forward computation | ΔN = D · cos(alpha); ΔE = D · sin(alpha) | GB 50026-2020, Code for engineering surveying |
| Coordinate convention | In surveying planes the vertical axis is north (N) and the horizontal axis is east (E) | GB 50026-2020, Code for engineering surveying |
| Inverse check | sqrt(ΔN^2 + ΔE^2) should return D, serving as a check | GB 50026-2020, Code for engineering surveying |
| Azimuth definition | Azimuth is measured clockwise from north, unlike the mathematical angle convention | GB 50026-2020, Code for engineering surveying |
📌 計算說明
- 極座標到直角座標換算。
- D=100,α=30° → ΔN≈86.6,ΔE=50。