ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Data.Analyst3D Namespace / TinTriangle Class / Aspect Property
Example

In This Topic
    Aspect Property (TinTriangle)
    In This Topic
    Gets the aspect of this TIN triangle in radians. The aspect is the compass direction of the steepest downhill slope of the triangle. A value of 0 radians is due North, PI / 2 radians due East, PI radians due South, 3 * PI / 2 due West, etc. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public ReadOnly Property Aspect As Double
    public double Aspect {get;}
    Exceptions
    ExceptionDescription
    This method or property must be called within the lambda passed to QueuedTask.Run
    Example
    TIN Triangles
    {
      // nodes, edges of the triangle
      var triNnodes = triangle.Nodes;
      var triEdges = triangle.Edges;
    
      // triangle geometry
      polygon = triangle.ToPolygon();
      // triangle length
      var triLength = triangle.Length;
      // triangle area 
      var triArea = triangle.Area;
      // is the triangle "inside"
      var isInsideTriangle = triangle.IsInsideDataArea;
    
      // triangle aspect and slope  (radians)
      var aspect = triangle.Aspect;
      var slope = triangle.Slope;
    
      // get centroid
      var centroid = triangle.GetCentroid();
    
      // get normal
      var normal = triangle.GetNormal();
    
      // get adjacent triangles
      var adjTriangles = triangle.GetAdjacentTriangles();
    
      // get area of triangle that falls between the z values
      double minZ = 1.0;
      double maxZ = 3.0;
      IReadOnlyList<Coordinate3D> coords = triangle.GetPointsBetweenZs(minZ, maxZ);
    }
    Requirements

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

    ArcGIS Pro version: 3.2 or higher.
    See Also