ArcGIS Pro 2.9 API Reference Guide
Midpoint Method

ArcGIS.Core.Geometry Namespace > Coordinate2D Structure : Midpoint Method
The first coordinate
The second coordinate
Constructs the midpoint of the segment connecting two instances of Coordinate2D.
Syntax
public static Coordinate2D Midpoint( 
   Coordinate2D coord1,
   Coordinate2D coord2
)
Public Shared Function Midpoint( _
   ByVal coord1 As Coordinate2D, _
   ByVal coord2 As Coordinate2D _
) As Coordinate2D

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, Windows 8.1

See Also

Reference

Coordinate2D Structure
Coordinate2D Members