Method DistVincentyRAD
DistVincentyRAD(Double, Double, Double, Double)
Calculates the great circle distance using the Vincenty Formula, simplified for a spherical model. This formula is accurate for any pair of points. The equation was taken from Wikipedia.
The arguments are in radians, and the result is in radians.
Declaration
public static double DistVincentyRAD(double lat1, double lon1, double lat2, double lon2)
Parameters
Type | Name | Description |
---|---|---|
System.Double | lat1 | |
System.Double | lon1 | |
System.Double | lat2 | |
System.Double | lon2 |
Returns
Type | Description |
---|---|
System.Double |