ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / TinDataset Class / GetOutsideTriangleCount Method
Example

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

    Return Value

    The number of outside 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
    TIN elements can exist "inside" or "outside" the TIN's data area. When TINs are initially built the only elements that are "outside" are the four super nodes and their incident edges and triangles. If clip or erase polygons are added to a TIN, they further modify what is considered to be "inside" or "outside".
    Example
    Element Counts
    var nodeCount = tinDataset.GetNodeCount();
    var outsideNodeCount = tinDataset.GetOutsideNodeCount();
    var edgeCount = tinDataset.GetEdgeCount();
    var outsideEdgecount = tinDataset.GetOutsideEdgeCount();
    var triCount = tinDataset.GetTriangleCount();
    var outsideTriCount = tinDataset.GetOutsideTriangleCount();
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also