C# Class Huoqishi.ISC.CalcDistance

根据经纬度计算两点距离
Show file Open project: huoqishi/Code-Library

Public Methods

Method Description
GetDistance ( double longitude1, double latitude1, double longitude2, double latitude2 ) : int

根据两点经纬度返回距离,单位m,精确度1m

Private Methods

Method Description
rad ( double d ) : double

Method Details

GetDistance() public static method

根据两点经纬度返回距离,单位m,精确度1m
public static GetDistance ( double longitude1, double latitude1, double longitude2, double latitude2 ) : int
longitude1 double 经度1
latitude1 double 纬度1
longitude2 double
latitude2 double
return int