ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / Patch Class / InsertPoints(Int32,IEnumerable<MapPoint>) Method
The index where the points will be inserted. Must be less than or equal Coords.Count. If the index is less than zero, the point will be added to end of the Coords list.
The points to insert.
Version

InsertPoints(Int32,IEnumerable<MapPoint>) Method
Inserts a range of points at the specified index.
Syntax
public void InsertPoints( 
   int index,
   IEnumerable<MapPoint> points
)

Parameters

index
The index where the points will be inserted. Must be less than or equal Coords.Count. If the index is less than zero, the point will be added to end of the Coords list.
points
The points to insert.
Exceptions
ExceptionDescription
The point index is greater than Coords.Count.
The points is null or one of the points in the collection is empty.
Remarks
If this patch has attributes Ms or IDs, then the attributes will be inserted also. M and ID will be taken from the point if it has them. Otherwise, default values will be inserted. Similarly, if this patch has attributes TextureCoords2D or Normals, then default values will be inserted. The default value is (0, 0) for 2D texture coordinates and (0, 0, 1) for normals.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also