这里会显示出您选择的修订版和当前版本之间的差别。
后一修订版 | 前一修订版 | ||
2020-2021:teams:alchemist:hardict:haversine_formula [2020/07/31 11:17] hardict 创建 |
2020-2021:teams:alchemist:hardict:haversine_formula [2020/07/31 11:20] (当前版本) hardict ↷ 页面2020-2021:teams:alchemist:haversine_formula被移动至2020-2021:teams:alchemist:hardict:haversine_formula |
||
---|---|---|---|
行 1: | 行 1: | ||
- | ### 利用经纬度求解两点球面距离 | + | ===== Haversine formula ===== |
- | + | ||
- | --- | + | |
- | + | ||
- | #### Haversine formula | + | |
$h(\theta)=sin^2(\frac{\theta}{2})=\frac{1-cos(\theta)}{2}$ | $h(\theta)=sin^2(\frac{\theta}{2})=\frac{1-cos(\theta)}{2}$ | ||
行 14: | 行 10: | ||
- 计算时可进一步化解:$cos(\theta)=sin(\beta_1)sin(\beta_2)+cos(\beta_1)cos(\beta_2)cos(\Delta \alpha)$ | - 计算时可进一步化解:$cos(\theta)=sin(\beta_1)sin(\beta_2)+cos(\beta_1)cos(\beta_2)cos(\Delta \alpha)$ | ||
- |  | + | {{:2020-2021:teams:alchemist:haversine_formula_sphere.jpg?400|}} |
这里求$\overset{\frown}{AB}$,显然求得$|AB|$即可 | 这里求$\overset{\frown}{AB}$,显然求得$|AB|$即可 |