ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / TinNode Class / GetDegree Method
When 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.
Version

GetDegree Method
Gets the degree of this TIN node. The degree of a node is the number of edges that are incident to it. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public int GetDegree( 
   bool enforceEdgesOnly
)

Parameters

enforceEdgesOnly
When 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.

Return Value

The number of edges that are incident to this node.
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.2 or higher.
See Also