摘要: var A = new Cesium.Cartesian3(675679.994355399, 4532763.148054989, 4426298.210847025); var B = new Cesium.Cartesian3(675520.4303984543, 4532803.837842 阅读全文
posted @ 2020-11-24 10:07 mythp 阅读(764) 评论(0) 推荐(0) 编辑
摘要: 计算a点和b点的角度(偏行角:逆时针) function courseAngle(lng_a, lat_a, lng_b, lat_b) { //以a点为原点建立局部坐标系(东方向为x轴,北方向为y轴,垂直于地面为z轴),得到一个局部坐标到世界坐标转换的变换矩阵 var localToWorld_M 阅读全文
posted @ 2020-11-24 09:56 mythp 阅读(1607) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 求p围绕pCenter旋转angle后的坐标值 /// </summary> /// <param name="p">需要旋转的坐标</param> /// <param name="pCenter">围绕的坐标</param> /// <param name=" 阅读全文
posted @ 2020-11-24 09:50 mythp 阅读(209) 评论(0) 推荐(0) 编辑
摘要: public static GeoPoint caculateWGS84GeoPoint(GeoPoint aPoint, GeoPoint bPoint, double distance_ax_in_meter) { if (geoCalc == null) { geoCalc = new Geo 阅读全文
posted @ 2020-11-24 09:48 mythp 阅读(358) 评论(0) 推荐(0) 编辑