This document is archived and information here might be outdated.  Recommended version.


ITinTriangle.QueryAdjacentTriangleIndices Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITinTriangle.QueryAdjacentTriangleIndices Method

An array of index numbers belonging to triangles adjacent to the specified triangle.

[Visual Basic .NET]
Public Sub QueryAdjacentTriangleIndices ( _
    ByRef pTi As Integer, _
    ByRef pTj As Integer, _
    ByRef pTk As Integer _
)
[C#]
public void QueryAdjacentTriangleIndices (
    ref int pTi,
    ref int pTj,
    ref int pTk
);
[C++]
HRESULT QueryAdjacentTriangleIndices(
  System.Int32* pTi,
  System.Int32* pTj,
  System.Int32* pTk
);
[C++]

Parameters pTi [out]
pTi is a parameter of type long* pTj [out]
pTj is a parameter of type long* pTk [out]
pTk is a parameter of type long*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Provides the index values of the three triangles on the opposite sides of the edges of this triangle. Triangles that border the TIN's extreme perimeter will not have adjacent triangles on all sides. The indices returned for these will be 0.

See Also

ITinTriangle Interface