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


ITinTriangle.QueryAdjacentTriangles Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinTriangle Interface > ITinTriangle.QueryAdjacentTriangles Method
ArcGIS Developer Help

ITinTriangle.QueryAdjacentTriangles Method

The array of triangles adjacent to the specified triangle.

[Visual Basic .NET]
Public Sub QueryAdjacentTriangles ( _
    ByVal pTi As ITinTriangle, _
    ByVal pTj As ITinTriangle, _
    ByVal pTk As ITinTriangle _
)
[C#]
public void QueryAdjacentTriangles (
    ITinTriangle pTi,
    ITinTriangle pTj,
    ITinTriangle pTk
);
[C++]
HRESULT QueryAdjacentTriangles(
  ITinTriangle* pTi,
  ITinTriangle* pTj,
  ITinTriangle* pTk
);
[C++]
Parameters
pTi 

pTi is a parameter of type ITinTriangle* pTj
pTj is a parameter of type ITinTriangle* pTk
pTk is a parameter of type ITinTriangle*

Product Availability

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

Description

Provides the three triangles on the opposite sides of the edges of this triangle. The three passed triangle objects must have already been instantiated. They will be written to.

Triangles that border the TIN's extreme perimeter will not have adjacent triangles on all sides. IsEmpty will return True for the passed triangles that are undefined because of this condition.

See Also

ITinTriangle Interface