Azavea.Open.Reprojection.GeoMath.VicentyDistanceMeters C# (CSharp) Method

VicentyDistanceMeters() public static method

Uses the Vicenty formula, assuming a ellopsoidal Earth, to calculate distance (in meters) between two lat/lon coordinates. Vicenty is slower but more accurate than Haversine. You may multiply the results by the handy constants MILES_PER_METER, FEET_PER_METER, etc. to get the distance in those units instead.
public static VicentyDistanceMeters ( ICoordinate coord1, ICoordinate coord2 ) : double
coord1 ICoordinate First coordinate
coord2 ICoordinate Second coordinate
return double
        public static double VicentyDistanceMeters(ICoordinate coord1, ICoordinate coord2)
        {
            return VicentyDistanceMeters(coord1.X, coord1.Y, coord2.X, coord2.Y);
        }

Same methods

GeoMath::VicentyDistanceMeters ( IPoint point1, IPoint point2 ) : double
GeoMath::VicentyDistanceMeters ( double lon1, double lat1, double lon2, double lat2 ) : double