SpatialOperations.Distance Method (Geometry, Geometry)

WCF Data Services 5.0

Indicates the Geometry Distance.

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

public virtual double Distance(
	Geometry operand1,
	Geometry operand2
)

Parameters

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

Return Value

Type: System.Double
The operation result.
Show: