ArcObjects Library Reference (GeoDatabase)  

ITinNode2.Degree Property

The degree of the node.

[Visual Basic .NET]
Public Function get_Degree ( _
    ByVal bEnforcedEdgesOnly As Boolean _
) As Integer
[C#]
public int get_Degree (
    bool bEnforcedEdgesOnly
);
[C++]
HRESULT get_Degree(
  VARIANT_BOOL bEnforcedEdgesOnly,
  long* pDegree
);
[C++]

Parameters

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

The degree of a node is the number of edges that are incident to it.

When EnforcedEdgesOnly is set to TRUE only the number of incident edges that are classified as either hard or soft is returned. When set to FALSE all edges are used regardless of type.

A SingleEdge interpretation is used by this property.

See Also

ITinNode2 Interface