ArcGIS Pro 3.7 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 Function GetAdjacentNodes() As IReadOnlyList(Of TinNode)
    public IReadOnlyList<TinNode> GetAdjacentNodes()

    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
    {
      // 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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.2 or higher.
    See Also