ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / TinEdge Class / GetNeighbor Method

In This Topic
    GetNeighbor Method
    In This Topic
    Gets the corresponding edge of the triangle opposite to this TIN edge. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public TinEdge GetNeighbor()
    Public Function GetNeighbor() As TinEdge

    Return Value

    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run
    Remarks
    A triangle is comprised of three edges. They are ordered clockwise. So, the RightTriangle of an edge is the triangle the edge belongs to. An edge's neighboring edge is the edge of the LeftTriangle that shares the same nodes (although from and to are reversed). GetNeighbor will return null when the edge is on the absolute boundary of the triangulation.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.5 or higher.
    See Also