ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.Geometry Namespace / Coordinate2D Structure / Distance Method
The first coordinate
The second coordinate

In This Topic
    Distance Method (Coordinate2D)
    In This Topic
    Gets the 2D distance between two instances of Coordinate2D.
    Syntax
    Public Shared Function Distance( _
       ByVal coordinate1 As Coordinate2D, _
       ByVal coordinate2 As Coordinate2D _
    ) As Double

    Parameters

    coordinate1
    The first coordinate
    coordinate2
    The second coordinate

    Return Value

    The 2D distance between coordinate1 and coordinate2.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also