ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Editing.COGO Namespace / Course Class / EntranceTangentDirection Property
Example

In This Topic
    EntranceTangentDirection Property
    In This Topic
    Gets the entrance tangent direction for the course. Value is in North Azimuth decimal degrees.
    Syntax
    Public ReadOnly Property EntranceTangentDirection As Double
    public double EntranceTangentDirection {get;}
    Example
    Iterate Traverse Courses
    // iterate thru courses
    foreach (var course in travParcel.Courses)
    {
      var courseCOGOLine = course.COGOLine;
    
      var entranceTangentDir = course.EntranceTangentDirection;
      var exitTangentDir = course.ExitTangentDirection;
    
      // tangent to prior course if one of the following
      //     - defined with a ArcGIS.Desktop.Editing.COGO.TangentCurveDefinition
      //     - defined as a straight line defined with a 0 deflection angle.
      var isTangentToPriorCourse = course.IsDefinedAsTangentToPriorCourse;
      // IsTangent if one of the following
      //    - IsTangentToPriorCourse
      //    - is implied tangent - ie difference between entranceTangentDirection and previous courses ExitTangentDirection < tolerance
      var isTangent = course.IsTangent;
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.7 or higher.
    See Also