GreatCircleMathsDistance Method |
Calculates the distance in km between two points on the earth at sea level.
Namespace: VirtualRadar.InterfaceAssembly: VirtualRadar.Interface (in VirtualRadar.Interface.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static Nullable<double> Distance(
Nullable<double> startLatitude,
Nullable<double> startLongitude,
Nullable<double> endLatitude,
Nullable<double> endLongitude
)
Public Shared Function Distance (
startLatitude As Nullable(Of Double),
startLongitude As Nullable(Of Double),
endLatitude As Nullable(Of Double),
endLongitude As Nullable(Of Double)
) As Nullable(Of Double)
public:
static Nullable<double> Distance(
Nullable<double> startLatitude,
Nullable<double> startLongitude,
Nullable<double> endLatitude,
Nullable<double> endLongitude
)
static member Distance :
startLatitude : Nullable<float> *
startLongitude : Nullable<float> *
endLatitude : Nullable<float> *
endLongitude : Nullable<float> -> Nullable<float>
Parameters
- startLatitude
- Type: SystemNullableDouble
- startLongitude
- Type: SystemNullableDouble
- endLatitude
- Type: SystemNullableDouble
- endLongitude
- Type: SystemNullableDouble
Return Value
Type:
NullableDoubleSee Also