This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinAdvanced2 Interface > ITinAdvanced2.GetNodeDegree Method (ArcObjects .NET 10.4 SDK) |
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
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.