/// <summary> /// 已知点A经纬度,根据B点据A点的距离,和方位,求B点的经纬度 /// </summary> /// <param name="longitude">已知点A经度</param> /// <param name="latitude">已知点A纬度</param> /// <param name="distance">B点到A点的距离</param> /// <param name="angle">B点相对于A点的方位,12点钟方向为零度,角度顺时针增加</param> /// <returns>B点的经纬度坐标</returns> public static LatLon GetLatLon(double longitude, double latitude, double distance, double angle) { LatLon a = new LatLon(latitude, longitude); return(GetLatLon(a, distance, angle)); }
public static LatLon GetLeftUpperCornerLatLon(LatLon a, double dDistanceInKilometer) { return(GetLatLon(a, GetRealDistance(dDistanceInKilometer), 315)); }
public static LatLon GetRightLowerCornerLatLon(LatLon a, double dDistanceInKilometer) { return(GetLatLon(a, GetRealDistance(dDistanceInKilometer), 135)); }
public static LatLon GetRightLowerCornerLatLon(double dLongitude, double dLatitude, double dDistanceInKilometer) { LatLon a = new LatLon(dLatitude, dLongitude); return(GetLatLon(a, GetRealDistance(dDistanceInKilometer), 135)); }