ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Geometry Namespace / Patch Class / RemovePoints Method
The index from which the points are removed. Must be in the range [0, Coords.Count - 1] inclusive.
The index up to which the points are removed. Must be in the range [fromIndex, Coords.Count - 1] inclusive. The toIndex index is excluded from the indices that are removed. For example, if from = 3, to = 7, then the points at indices 3, 4, 5, and 6 will be removed.

In This Topic
    RemovePoints Method (Patch)
    In This Topic
    Removes a range of points.
    Syntax
    public void RemovePoints( 
       int fromIndex,
       int toIndex
    )
    Public Sub RemovePoints( _
       ByVal fromIndex As Integer, _
       ByVal toIndex As Integer _
    ) 

    Parameters

    fromIndex
    The index from which the points are removed. Must be in the range [0, Coords.Count - 1] inclusive.
    toIndex
    The index up to which the points are removed. Must be in the range [fromIndex, Coords.Count - 1] inclusive. The toIndex index is excluded from the indices that are removed. For example, if from = 3, to = 7, then the points at indices 3, 4, 5, and 6 will be removed.
    Exceptions
    ExceptionDescription
    fromIndex is less than zero or greater than or equal to Coords.Count.
    toIndex is less than fromIndex or greater than Coords.Count.
    Remarks
    If this patch has attributes Ms, IDs, Normals, or TextureCoords2D then the attributes will be removed also.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also