ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / TinDataset Class / GetDataTriangleCount Method

In This Topic
    GetDataTriangleCount Method
    In This Topic
    Gets the number of data triangles in this TIN. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public int GetDataTriangleCount()
    Public Function GetDataTriangleCount() As Integer

    Return Value

    The number of data triangles in this TIN.
    Exceptions
    ExceptionDescription
    A geodatabase-related exception has occurred.
    This method or property must be called within the lambda passed to QueuedTask.Run
    Remarks
    A triangle is considered a data triangle if its edges are contained inside or on the boundary of the interpolation zone. When looping through the triangles, the loop starts at index = 1.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.5 or higher.
    See Also