Method DistHaversineRAD
DistHaversineRAD(Double, Double, Double, Double)
Declaration
public static double DistHaversineRAD(double lat1, double lon1, double lat2, double lon2)
Parameters
Type | Name | Description |
---|---|---|
System.Double | lat1 | The y coordinate of the first point, in radians |
System.Double | lon1 | The x coordinate of the first point, in radians |
System.Double | lat2 | The y coordinate of the second point, in radians |
System.Double | lon2 | The x coordinate of the second point, in radians |
Returns
Type | Description |
---|---|
System.Double | The distance between the two points, as determined by the Haversine formula, in radians. |