ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / Coordinate2D Structure / Midpoint Method
The first coordinate
The second coordinate
Version

Midpoint Method
Constructs the midpoint of the segment connecting two instances of Coordinate2D.
Syntax
public static Coordinate2D Midpoint( 
   Coordinate2D coord1,
   Coordinate2D coord2
)

Parameters

coord1
The first coordinate
coord2
The second coordinate

Return Value

The midpoint of the segment connecting coord1 and coord2.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also