GeometryOperationsExtensions.Distance(Geometry, Geometry) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.