ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / TinNode Class / GetAdjacentNodes Method
Example

In This Topic
    GetAdjacentNodes Method
    In This Topic
    Gets all the nodes that are next to this node; that is that are connected to this node by TIN edges. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public IReadOnlyList<TinNode> GetAdjacentNodes()
    Public Function GetAdjacentNodes() As IReadOnlyList(Of TinNode)

    Return Value

    A IReadOnlyList of TinNode.
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run
    Example
    TIN Nodes
    // node coordinates
    var coord3D = node.Coordinate3D;
    var mapPoint = node.ToMapPoint();
    // is the node "inside"
    var isInsideNode = node.IsInsideDataArea;
    
    // get all other nodes connected to "node" 
    IReadOnlyList<ArcGIS.Core.Data.Analyst3D.TinNode> adjNodes = node.GetAdjacentNodes();
    
    // get all edges that share "node" as a from node. 
    IReadOnlyList<ArcGIS.Core.Data.Analyst3D.TinEdge> edges = node.GetIncidentEdges();
    
    // get all triangles that share "node"
    IReadOnlyList<ArcGIS.Core.Data.Analyst3D.TinTriangle> triangles = node.GetIncidentTriangles();
    
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also