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


ITinAdvanced.FindTriangle Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITinAdvanced.FindTriangle Method

The triangle at the specified location.

[Visual Basic .NET]
Public Function FindTriangle ( _
    ByVal pPoint As IPoint _
) As ITinTriangle
[C#]
public ITinTriangle FindTriangle (
    IPoint pPoint
);
[C++]
HRESULT FindTriangle(
  IPoint* pPoint,
  ITinTriangle** ppTriangle
);
[C++]

Parameters pPoint [in]
pPoint is a parameter of type IPoint ppTriangle [out, retval]
ppTriangle is a parameter of type ITinTriangle

Product Availability

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

Description

Returns the triangle that contains the given query point.

If the query point is incident to a node or edge than the triangle to return is ambiguous. In either case the function will select the first triangle it finds.

See Also

ITinAdvanced Interface