Collapse All Expand All Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: JavaScript

Visual Basic
C#
Visual C++
JavaScript

Easy GIS .NET API Reference
ConversionFunctions..::.DistanceBetweenLatLongPointsHaversine Method
ConversionFunctions Class See Also Send Feedback

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

# Syntax

Visual Basic (Declaration)
    Public Shared Function DistanceBetweenLatLongPointsHaversine ( _
    	referenceEllipsoid As Integer, _
    	origin As LatLongCoordinate, _
    	destination As LatLongCoordinate _
    ) As Double

C#
    public static double DistanceBetweenLatLongPointsHaversine(
    	int referenceEllipsoid,
    	LatLongCoordinate origin,
    	LatLongCoordinate destination
    )

Visual C++
    public:
    static double DistanceBetweenLatLongPointsHaversine(
    	int referenceEllipsoid,
    	LatLongCoordinate origin,
    	LatLongCoordinate destination
    )

#### Parameters

referenceEllipsoid
  Type: System..::.Int32

origin
  Type: EGIS.ShapeFileLib..::.LatLongCoordinate

destination
  Type: EGIS.ShapeFileLib..::.LatLongCoordinate

# See Also

ConversionFunctions Class
EGIS.ShapeFileLib Namespace