ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / TinEdge Class / LeftTriangle Property
Example

In This Topic
    LeftTriangle Property
    In This Topic
    Gets the triangle on the left (opposite) side of this TIN edge. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public TinTriangle LeftTriangle {get;}
    Public ReadOnly Property LeftTriangle As TinTriangle

    Property Value

    A TinTriangle
    Remarks
    Edges are always ordered clockwise in the triangle to which they belong. When an edge is on the absolute boundary of a triangulation null will be returned as there is no LeftTriangle for these edges.
    Example
    TIN Edges
    // nodes of the edge
    var nodes = edge.Nodes;
    
    // edge geometry
    var polyline = edge.ToPolyline();
    // edge length
    var length = edge.Length;
    // is the edge "inside"
    var isInsideEdge = edge.IsInsideDataArea;
    // edge type - regular/hard/soft
    var edgeType = edge.EdgeType;
    
    // get next (clockwise) edge in the triangle
    var nextEdge = edge.GetNextEdgeInTriangle();
    // get previous (anti-clockwise) edge in the triangle
    var prevEdge = edge.GetPreviousEdgeInTriangle();
    
    // get opposite edge
    var oppEdge = edge.GeNeighbor();
    
    // get left triangle
    var leftTriangle = edge.LeftTriangle;
    // get right triangle
    var rightTriangle = edge.RightTriangle;
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.2 or higher.
    See Also