ArcGIS Pro 3.3 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.

In This Topic
    GetDegree Method
    In This Topic
    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
    )
    Public Function GetDegree( _
       ByVal enforceEdgesOnly As Boolean _
    ) As Integer

    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