Export (0) Print
Expand All

GeometryOperationsExtensions.Distance Method

WCF Data Services 5.0

Determines the distance of the geometry.

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

public static Nullable<double> Distance(
	this Geometry operand1,
	Geometry operand2
)

Parameters

operand1
Type: System.Spatial.Geometry
The first operand.
operand2
Type: System.Spatial.Geometry
The second operand.

Return Value

Type: System.Nullable<Double>
The operation result.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Geometry. When you use instance method syntax to call this method, omit the first parameter. For more information, see http://msdn.microsoft.com/en-us/library/bb384936(v=vs.103).aspx or http://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).aspx.
Show:
© 2014 Microsoft