This document is archived and information here might be outdated.  Recommended version.


ITinAdvanced2.QueryAllEdgeIndicesAroundNode Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITinAdvanced2.QueryAllEdgeIndicesAroundNode Method

Returns all edges connected to the specified node. If the last edge in the array has negative value, then its end node, instead of begin node, is the specified node.

[Visual Basic .NET]
Public Sub QueryAllEdgeIndicesAroundNode ( _
    ByVal nodeIndex As Integer, _
    ByVal pEdges As ILongArray _
)
[C#]
public void QueryAllEdgeIndicesAroundNode (
    int nodeIndex,
    ILongArray pEdges
);
[C++]
HRESULT QueryAllEdgeIndicesAroundNode(
  long nodeIndex,
  ILongArray* pEdges
);
[C++]

Parameters nodeIndex [in] nodeIndex is a parameter of type long pEdges
pEdges is a parameter of type ILongArray

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

This populates a LongArray with the indices of edges that surround a given node.

The passed LongArray must already have been instantiated.

A Single Edge interpretation is used. This is where edges between adjacent triangles are shared.

For non-super nodes, all returned edges have their from node in common with the specified node. In the special case of a super node, the last returned edge will have its to node in common. That returned index will also be flagged using a negative value.

See Also

ITinAdvanced2 Interface