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


INetwork.MaxDegree Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

INetwork.MaxDegree Property

Maximum degree of a junction.

[Visual Basic .NET]
Public ReadOnly Property MaxDegree As Integer
[C#]
public int MaxDegree {get;}
[C++]
HRESULT get_MaxDegree(
  long* MaxDegree
);
[C++]

Parameters MaxDegree [out, retval] MaxDegree is a parameter of type long

Product Availability

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

Remarks

The MaxDegree is the maximum number of edges connected to any given junction in the network.  This property can be used to determine if there are incorrect connections within the network.  For instance, in a Gas Network it is unlikely that there would ever be more than 4 edges attached to a junction.  If MaxDegree returned a number greater than 4, it would indicate a problem in the network.

 

See Also

INetwork Interface