SpatialOperations.Distance Method (Geography, Geography)

WCF Data Services 5.0

Indicates a Geography Distance.

Namespace:  System.Spatial
Assembly:  System.Spatial (in System.Spatial.dll)

public virtual double Distance(
	Geography operand1,
	Geography operand2
)

Parameters

operand1
Type: System.Spatial.Geography
The Operand 1.
operand2
Type: System.Spatial.Geography
The Operand 2.

Return Value

Type: System.Double
The operation result.
Show: