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

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

    Parameters

    coordinate1
    The first coordinate
    coordinate2
    The second coordinate

    Return Value

    The 3D distance between coordinate1 and coordinate2.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also