ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Geometry Namespace / MultipointBuilderEx Class / AddPoints Method / AddPoints(IEnumerable<Segment>) Method
The Segment enumeration of which the vertices will be added.

In This Topic
    AddPoints(IEnumerable<Segment>) Method
    In This Topic
    Add the vertices of the segments in the enumeration to the list of points.
    Syntax
    public void AddPoints( 
       IEnumerable<Segment> segments
    )
    Public Overloads Sub AddPoints( _
       ByVal segments As IEnumerable(Of Segment) _
    ) 

    Parameters

    segments
    The Segment enumeration of which the vertices will be added.
    Remarks
    The XY-values of the points (vertices) are added to the end of the Coordinate2Ds list. If the point property HasZ is true, and this builder property HasZ is true, then the Z-value of the point is added to the end of the Zs list. The same is true for Ms and IDs. If the point is missing any of the attributes (Z, M, or ID) that are present in this builder, a default value is used. The default value for Z is zero, M is NaN, and ID is zero. If a point has an attribute that is missing in the builder, the attribute is ignored.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also