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。