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, _
	origin As LatLongCoordinate, _
	destination As LatLongCoordinate _
) As Double
C#
public static double DistanceBetweenLatLongPoints(
	int referenceEllipsoid,
	LatLongCoordinate origin,
	LatLongCoordinate destination
)
Visual C++
public:
static double DistanceBetweenLatLongPoints(
	int referenceEllipsoid, 
	LatLongCoordinate origin, 
	LatLongCoordinate destination
)
JavaScript
EGIS.ShapeFileLib.ConversionFunctions.distanceBetweenLatLongPoints = function(referenceEllipsoid, origin, destination);

Parameters

referenceEllipsoid
Type: System..::..Int32
origin
Type: EGIS.ShapeFileLib..::..LatLongCoordinate
destination
Type: EGIS.ShapeFileLib..::..LatLongCoordinate

Return Value

See Also