Share via


GeometryOperationsExtensions.Distance(Geometry, Geometry) Method

Definition

Determines the distance of the geometry.

public static double? Distance (this Microsoft.Spatial.Geometry operand1, Microsoft.Spatial.Geometry operand2);
static member Distance : Microsoft.Spatial.Geometry * Microsoft.Spatial.Geometry -> Nullable<double>
<Extension()>
Public Function Distance (operand1 As Geometry, operand2 As Geometry) As Nullable(Of Double)

Parameters

operand1
Geometry

The first operand.

operand2
Geometry

The second operand.

Returns

The operation result.

Applies to