ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Geometry Namespace / MultipatchBuilderEx Class / AddPoint Method
The patch index. Must be in the range [0, Patches.Count - 1] inclusive.
The MapPoint to add. Point cannot be empty or null.

In This Topic
    AddPoint Method (MultipatchBuilderEx)
    In This Topic
    A convenience method to add a point to the specified Patch.
    Syntax
    public void AddPoint( 
       int patchIndex,
       MapPoint point
    )
    Public Sub AddPoint( _
       ByVal patchIndex As Integer, _
       ByVal point As MapPoint _
    ) 

    Parameters

    patchIndex
    The patch index. Must be in the range [0, Patches.Count - 1] inclusive.
    point
    The MapPoint to add. Point cannot be empty or null.
    Exceptions
    ExceptionDescription
    The point is null or empty.
    Remarks
    The xy-coordinates of the point are added in the Patch.Coords list. If the point property HasZ is true, then the Z-value of the point is added in the Patch.Coords list. Otherwise, a default Z-value is added in the Patch.Coords list. If the point property HasM is set to true and this builder property HasM is true, then the M-value of the point is added in the Patch.Ms list. Same is true for the Patch.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. If the patch has texture coordinates or normals, then a default value is set. The default value is (0, 0) for texture coordinates and (0, 0, 1) for normals.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also