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,
long* pDegree
);
[C++]Parameters
nodeIndex [in] nodeIndex is a parameter of type long bEnforcedEdgesOnly [in] bEnforcedEdgesOnly is a parameter of type VARIANT_BOOL pDegree [out, retval] pDegree is a parameter of type long
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.