ArcObjects Library Reference (GeoDatabase)  

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