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


ITinAdvanced2.GetNodeDegree Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinAdvanced2 Interface > ITinAdvanced2.GetNodeDegree Method
ArcGIS Developer Help

ITinAdvanced2.GetNodeDegree Method

Returns the degree of the specified node.

[Visual Basic .NET]
Public Function GetNodeDegree ( _
    ByVal nodeIndex As Integer, _
    ByVal bEnforcedEdgesOnly As Boolean _
) As Integer
[C#]
public int GetNodeDegree (
    int nodeIndex,
    bool bEnforcedEdgesOnly
);
[C++]
HRESULT GetNodeDegree(
  long nodeIndex,
  VARIANT_BOOL bEnforcedEdgesOnly
);
[C++]
Parameters
nodeIndex [in]

nodeIndex is a parameter of type long bEnforcedEdgesOnly [in]
bEnforcedEdgesOnly is a parameter of type bool

Product Availability

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

Description

GetNodeDegree returns the number of edges incident to the node. If bEnforcedEdgesOnly is set to True then only the number of hard and soft break edges are counted.

This member uses the SingleEdge interpretation where only one edge between node pairs is considered.

See Also

ITinAdvanced2 Interface