ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / Coordinate2D Structure / Distance(Coordinate2D,Coordinate2D) Method
The first coordinate
The second coordinate
Version

Distance(Coordinate2D,Coordinate2D) Method
Gets the 2D distance between two instances of Coordinate2D.
Syntax

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.2 or higher.
See Also