ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / TinDataset Class / GetEdgeByIndex Method
The index of the edge to get.
Example

In This Topic
    GetEdgeByIndex Method
    In This Topic
    Gets the edge specified by the index. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public TinEdge GetEdgeByIndex( 
       int index
    )
    Public Function GetEdgeByIndex( _
       ByVal index As Integer _
    ) As TinEdge

    Parameters

    index
    The index of the edge to get.

    Return Value

    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run
    The specified index is out of range.
    Remarks
    To ensure maximum robustness, callers should explicitly dispose of the returned TinEdge in either a using statement or a finally block.
    Example
    Access TIN Elements By Index
    using (ArcGIS.Core.Data.Analyst3D.TinNode node = tinDataset.GetNodeByIndex(23))
    {
    
    }
    
    using (ArcGIS.Core.Data.Analyst3D.TinEdge edge = tinDataset.GetEdgeByIndex(45))
    {
    
    }
    using (ArcGIS.Core.Data.Analyst3D.TinTriangle triangle = tinDataset.GetTriangleByIndex(22))
    {
    
    }
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also