经纬度坐标下的球面多边形面积计算公式
04-02 19:09:06 浏览次数:381次 栏目:数学课堂
标签:小学数学课件,
经纬度坐标下的球面多边形面积计算公式,http://www.dbk123.com
double s = 2 * Math.asin(Math.sqrt(Math.pow(Math.sin(a/2),2) +
Math.cos(radLat1) * Math.cos(radLat2) * Math.pow(Math.sin(b/2),2)));
s = s * (gs == GaussSphere.WGS84 ? 6378137.0 : (gs == GaussSphere.Xian80 ? 6378140.0 : 6378245.0));
s = Math.round(s * 10000) / 10000;
return s;
}
}