returns the distance in meters between 2 lat/long double-precision points

Namespace:  EGIS.ShapeFileLib
Assembly:  EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)

Syntax

Visual Basic
Public Shared Function DistanceBetweenLatLongPoints ( _
	referenceEllipsoid As Integer, _
	latOrigin As Double, _
	longOrigin As Double, _
	latDestination As Double, _
	longDestination As Double _
) As Double
C#
public static double DistanceBetweenLatLongPoints(
	int referenceEllipsoid,
	double latOrigin,
	double longOrigin,
	double latDestination,
	double longDestination
)
Visual C++
public:
static double DistanceBetweenLatLongPoints(
	int referenceEllipsoid, 
	double latOrigin, 
	double longOrigin, 
	double latDestination, 
	double longDestination
)
JavaScript
EGIS.ShapeFileLib.ConversionFunctions.distanceBetweenLatLongPoints = function(referenceEllipsoid, latOrigin, longOrigin, latDestination, longDestination);

Parameters

referenceEllipsoid
Type: System..::..Int32
latOrigin
Type: System..::..Double
longOrigin
Type: System..::..Double
latDestination
Type: System..::..Double
longDestination
Type: System..::..Double

Return Value

See Also