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


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

ITinAdvanced2.FindTriangleIndex Method

The triangle at the specified location.

[Visual Basic .NET]
Public Function FindTriangleIndex ( _
    ByVal pPoint As IPoint _
) As Integer
[C#]
public int FindTriangleIndex (
    IPoint pPoint
);
[C++]
HRESULT FindTriangleIndex(
  IPoint* pPoint
);
[C++]
Parameters
pPoint [in]

pPoint is a parameter of type IPoint*

Product Availability

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

Description

Returns the index of the triangle that encompasses the point.

If the point falls completely outside the TIN, including the area represented by its super nodes, the returned index will be 0.

See Also

ITinAdvanced2 Interface