ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Geometry Namespace / MultipatchBuilderEx Class / RemovePoints Method
The index of the patch from which points are removed. Must be in the range [0, Patches.Count - 1] inclusive.
The index from which the points are removed. Must be in the range [0, Patch.Coords.Count - 1] inclusive.
The index up to which the points are removed. Must be in the range [fromIndex, Patch.Coords.Count - 2] 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 (MultipatchBuilderEx)
    In This Topic
    A convenience method to remove points from the specified Patch
    Syntax
    public void RemovePoints( 
       int patchIndex,
       int fromIndex,
       int toIndex
    )
    Public Sub RemovePoints( _
       ByVal patchIndex As Integer, _
       ByVal fromIndex As Integer, _
       ByVal toIndex As Integer _
    ) 

    Parameters

    patchIndex
    The index of the patch from which points are removed. Must be in the range [0, Patches.Count - 1] inclusive.
    fromIndex
    The index from which the points are removed. Must be in the range [0, Patch.Coords.Count - 1] inclusive.
    toIndex
    The index up to which the points are removed. Must be in the range [fromIndex, Patch.Coords.Count - 2] 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
    The fromIndex parameter is less than zero or greater than or equal to the patch point count.
    The toIndex parameter is less than the fromIndex parameter or greater than the patch point 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